editor: first take on plugins, core plugin with breakContent transformation
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / canvas.js
index d13e2ea..01cb14e 100644 (file)
@@ -39,7 +39,7 @@ $.extend(TextHandler.prototype, {
     },
     setText: function(text, node) {
         //this.canvas.wlxmlDocument.transform('setText', {node:node, text: text});
     },
     setText: function(text, node) {
         //this.canvas.wlxmlDocument.transform('setText', {node:node, text: text});
-        node.transform('smartxml.setText', {text: text});
+        node.setText(text);
 
     }
 
 
     }