Merge pull request #410 from dimdenGD/patch-1

Fix #405
This commit is contained in:
Kyle Drake 2022-11-12 13:18:45 -06:00 committed by GitHub
commit e03923b1f1
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)