Enables the message box for unsaved changes. Change to how content of editor is set because of ajaxorg/ace#1243 (setting it with editor.setValue() is async and doesn't allow save clearing of history)
potential improvements: should copy-paste out of the editor also count as "saving" it? Add an option to turn the message box off.
Enables the message box for unsaved changes. Change to how content of editor is set because of ajaxorg/ace#1243 (setting it with editor.setValue() is async and doesn't allow save clearing of history)
potential improvements: should copy-paste out of the editor also count as "saving" it? Add an option to turn the message box off.