Fixes #405
This commit is contained in:
dimden 2022-08-23 22:25:37 +03:00 committed by GitHub
parent 0da213c747
commit 05fd84e9f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,6 +183,7 @@
editor.setBehavioursEnabled(false) editor.setBehavioursEnabled(false)
editor.setValue(resp, -1) editor.setValue(resp, -1)
editor.getSession().setUndoManager(new ace.UndoManager())
editor.on('change', function(obj) { editor.on('change', function(obj) {
$('a#saveButton,a#saveAndExitButton').css('opacity', 1) $('a#saveButton,a#saveAndExitButton').css('opacity', 1)