X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/61e73a2d096b2c692b4fe6659b832ca15629e502..2aeda11223a51403e22d7ac6fec815d7ba3e7666:/src/editor/modules/sourceEditor/sourceEditor.js diff --git a/src/editor/modules/sourceEditor/sourceEditor.js b/src/editor/modules/sourceEditor/sourceEditor.js index 420abc1..1930939 100644 --- a/src/editor/modules/sourceEditor/sourceEditor.js +++ b/src/editor/modules/sourceEditor/sourceEditor.js @@ -49,6 +49,9 @@ return function(sandbox) { wlxmlDocument.on('change', function() { documentIsDirty = true; }); + wlxmlDocument.on('contentSet', function() { + documentIsDirty = true; + }); }, getDocument: function() { return editor.getValue();