editor: nicer icon for undo toolbar icon
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / documentElement.js
index 9fe3641..e553336 100644 (file)
@@ -349,7 +349,7 @@ $.extend(DocumentTextElement, {
     },
 
     create: function(wlxmlTextNode, canvas) {
-        return this.fromHTMLElement(this.createDOM(wlxmlTextNode)[0]);
+        return this.fromHTMLElement(this.createDOM(wlxmlTextNode)[0], canvas);
     },
 
     fromHTMLElement: function(htmlElement, canvas) {