fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wlxml: Document's root is always a context root
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
keyboard.js
diff --git
a/src/editor/modules/documentCanvas/canvas/keyboard.js
b/src/editor/modules/documentCanvas/canvas/keyboard.js
index
3a90a90
..
6b32da0
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/keyboard.js
+++ b/
src/editor/modules/documentCanvas/canvas/keyboard.js
@@
-282,7
+282,7
@@
var keyEventHandlers = [
},
run: function(e,s) {
e.preventDefault();
-
e
.element.wlxmlNode.setText('');
+
s
.element.wlxmlNode.setText('');
s.canvas.setCurrentElement(s.element, {caretTo: 0});
}
},