From: Aleksander Ɓukasz Date: Fri, 9 Aug 2013 08:31:28 +0000 (+0200) Subject: Fix: missing contentChanged event X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/c62820ef529ff40e46d30aedff2ba870e8e18395?hp=1587895c3b5163157002c6259eefe6943554fd1e Fix: missing contentChanged event --- diff --git a/modules/documentCanvas/canvas/canvas.js b/modules/documentCanvas/canvas/canvas.js index 8472688..228bf20 100644 --- a/modules/documentCanvas/canvas/canvas.js +++ b/modules/documentCanvas/canvas/canvas.js @@ -257,6 +257,7 @@ $.extend(Canvas.prototype, { element.detach(); } canvas.setCurrentElement(goto, {caretTo: caretTo}); + canvas.publisher('contentChanged'); } else if(cursorAtOperationEdge) { // todo