Commit cc119ee2 authored by campaign's avatar campaign

改进输入

parent b4e55560
...@@ -45,7 +45,7 @@ var keymap = KityMinder.keymap = (function(origin) { ...@@ -45,7 +45,7 @@ var keymap = KityMinder.keymap = (function(origin) {
'NumLock': 144, 'NumLock': 144,
'Cmd': 91, 'Cmd': 91,
'CmdFF':224,
'F2': 113, 'F2': 113,
'F3': 114, 'F3': 114,
'F4': 115, 'F4': 115,
...@@ -74,7 +74,8 @@ var keymap = KityMinder.keymap = (function(origin) { ...@@ -74,7 +74,8 @@ var keymap = KityMinder.keymap = (function(origin) {
17:1, 17:1,
18:1, 18:1,
20:1, 20:1,
91:1 91:1,
224:1
}, },
'notContentChange': { 'notContentChange': {
13: 1, 13: 1,
......
...@@ -115,6 +115,7 @@ Minder.Receiver = kity.createClass('Receiver', { ...@@ -115,6 +115,7 @@ Minder.Receiver = kity.createClass('Receiver', {
var keyCode = orgEvt.keyCode; var keyCode = orgEvt.keyCode;
function setTextToContainer() { function setTextToContainer() {
clearTimeout(me.timer); clearTimeout(me.timer);
if (!me.range.hasNativeRange()) { if (!me.range.hasNativeRange()) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment