this.wrapper = $('<div>').addClass('canvas-wrapper').attr('contenteditable', true);
this.wlxmlListener = wlxmlListener.create(this);
this.loadWlxmlDocument(wlxmlDocument);
+ this.setupEventHandling();
this.publisher = publisher ? publisher : function() {};
this.textHandler = new TextHandler(this);
};
this.wlxmlListener.listenTo(wlxmlDocument);
this.wlxmlDocument = wlxmlDocument;
this.reloadRoot();
- this.setupEventHandling();
},
reloadRoot: function() {