ctrl+a, context menu定位, markdown一旦setContent就focus, 导致搜索失去焦点

This commit is contained in:
life
2015-03-01 23:22:15 +08:00
parent e00a35a845
commit 22bc1103b4
2 changed files with 10 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ this.copy = new gui.MenuItem({
this.paste = new gui.MenuItem({
label: '粘贴',
click: function () {
// document.execCommand("selectAll");
document.execCommand('paste');
}
});