From 0d8a1471088aa3fa1f09b2172cf28f98c1e01362 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Wed, 14 Aug 2013 09:52:48 +0200 Subject: [PATCH 1/1] Fix - missing canvas reference --- modules/documentCanvas/canvas/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1