From: Aleksander Ɓukasz Date: Wed, 14 Aug 2013 07:52:48 +0000 (+0200) Subject: Fix - missing canvas reference X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/0d8a1471088aa3fa1f09b2172cf28f98c1e01362?ds=inline;hp=b1de2ef622519ea790e89bc690f2c4d84e93adec Fix - missing canvas reference --- diff --git a/modules/documentCanvas/canvas/canvas.js b/modules/documentCanvas/canvas/canvas.js index 4b43c8c..c7e2781 100644 --- a/modules/documentCanvas/canvas/canvas.js +++ b/modules/documentCanvas/canvas/canvas.js @@ -228,7 +228,7 @@ $.extend(Canvas.prototype, { suffixOutside = textNode2.getText().substr(params.offsetEnd) ; - var wrapperElement = documentElement.DocumentNodeElement.create({tag: params._with.tag, klass: params._with.klass}); + var wrapperElement = documentElement.DocumentNodeElement.create({tag: params._with.tag, klass: params._with.klass}, this); textNode1.after(wrapperElement); textNode1.detach();