X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/61e73a2d096b2c692b4fe6659b832ca15629e502..e5cc79a40d78c1832617d19186ca87ee9877ebfa:/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();