X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/1f6c4e3196778b8d0e91988c8c56966f9bb2ef8f..c36df0c30a4fb6398823ab4b903054675953aba2:/src/editor/modules/documentCanvas/canvas/documentElement.js diff --git a/src/editor/modules/documentCanvas/canvas/documentElement.js b/src/editor/modules/documentCanvas/canvas/documentElement.js index 9fe3641..e553336 100644 --- a/src/editor/modules/documentCanvas/canvas/documentElement.js +++ b/src/editor/modules/documentCanvas/canvas/documentElement.js @@ -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) {