X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/1f6c4e3196778b8d0e91988c8c56966f9bb2ef8f..2eac26a1b1fc8995dcebeba22f6991ef3542a886:/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) {