X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/15376df0aa6df3484cd942b4be2207b94172c502..8a96e73cb2bfaf1bb973281e1c3033f3ecc5309f:/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 8a5193b..d40ca9b 100644 --- a/src/editor/modules/documentCanvas/canvas/documentElement.js +++ b/src/editor/modules/documentCanvas/canvas/documentElement.js @@ -154,6 +154,9 @@ $.extend(DocumentNodeElement.prototype, { detach: function(isChild) { var parents; + if(this.gutterGroup) { + this.gutterGroup.remove(); + } if(_.isFunction(this.children)) { this.children().forEach(function(child) { child.detach(true);