extensions api wip - 1 canvas test fails because of setting setText trans via old api
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / canvas.js
index e181195..ae75d61 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('setText', {text: text});
+        node.transform('smartxml.setText', {text: text});
 
     }
 
 
     }