editor: some basic aside.comment support
[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) {