X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/6757e2f4fe80bfdc197d4963c464bf2b3a47f66b..75d2183aafd4b2d3e94c17f6c3c8ee0d8a4738e4:/src/editor/modules/documentCanvas/canvas/canvas.js?ds=sidebyside diff --git a/src/editor/modules/documentCanvas/canvas/canvas.js b/src/editor/modules/documentCanvas/canvas/canvas.js index e181195..d13e2ea 100644 --- a/src/editor/modules/documentCanvas/canvas/canvas.js +++ b/src/editor/modules/documentCanvas/canvas/canvas.js @@ -13,7 +13,7 @@ define([ var TextHandler = function(canvas) {this.canvas = canvas; this.buffer = null}; $.extend(TextHandler.prototype, { handle: function(node, text) { - console.log('canvas text handler: ' + text); + //console.log('canvas text handler: ' + text); this.setText(text, node); return; if(!this.node) { @@ -39,7 +39,7 @@ $.extend(TextHandler.prototype, { }, setText: function(text, node) { //this.canvas.wlxmlDocument.transform('setText', {node:node, text: text}); - node.transform('setText', {text: text}); + node.transform('smartxml.setText', {text: text}); }