Resolve deprecation warnings for ACE Editor 1.32.6

This commit is contained in:
Sebastian Serth
2024-02-13 19:29:11 +01:00
committed by Sebastian Serth
parent b00d45521b
commit e366ebd34c
3 changed files with 7 additions and 7 deletions

View File

@ -16,7 +16,7 @@ $(document).on('turbolinks:load', function(event) {
if ($('#editor').isPresent() && CodeOceanEditor && event.originalEvent.data.url.includes("/implement")) {
// This call will (amon other things) initializeEditors and load the content except for the last line
// It must not be called during page navigation. Otherwise, content will be duplicated!
// Search for insertLines and Turbolinks reload / cache control
// Search for insertFullLines and Turbolinks reload / cache control
CodeOceanEditor.initializeEverything();
}