Commit 5cee1be9 authored by techird's avatar techird

Merge branch 'release-1.2.0' of github.com:fex-team/kityminder into release-1.2.0

parents 5ee66b33 825fb382
...@@ -277,6 +277,7 @@ Minder.Receiver = kity.createClass('Receiver', { ...@@ -277,6 +277,7 @@ Minder.Receiver = kity.createClass('Receiver', {
this.updateContainerRangeBySel(); this.updateContainerRangeBySel();
this.updateSelectionShow(); this.updateSelectionShow();
e.preventDefault(); e.preventDefault();
return; return;
}else if(keymap.direction[keyCode]){ }else if(keymap.direction[keyCode]){
...@@ -378,6 +379,7 @@ Minder.Receiver = kity.createClass('Receiver', { ...@@ -378,6 +379,7 @@ Minder.Receiver = kity.createClass('Receiver', {
setTextToContainer(keyCode); setTextToContainer(keyCode);
return; return;
} }
if(this.selection.baseOffset === null)
setTextToContainer(keyCode); setTextToContainer(keyCode);
return true; return true;
} }
......
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