fnpjs: context menu support
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / keyboard.js
index 3a90a90..6b32da0 100644 (file)
@@ -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});
         }
     },