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) {
},
setText: function(text, node) {
//this.canvas.wlxmlDocument.transform('setText', {node:node, text: text});
- node.transform('smartxml.setText', {text: text});
+ node.setText(text);
}