Update ACE Editor to version 1.2.0

Previously, we were at an ACE editor published between 1.1.8 and 1.1.9. This caused multiple issues and was especially a problem for the upcoming pair programming feature. Further, updating ace is a long-time priority, see https://github.com/openHPI/codeocean/issues/250.

Now, we are not yet updating to the latest version, but rather to the next minor version. This already contains breaking changes, and we are currently interested to keep the number of changes as low as possible. Further updating ACE might be still a future task.

The new ACE version 1.2.0 is taken from this tag: https://github.com/ajaxorg/ace-builds/releases/tag/v1.2.0.
We are using the src build (not minified, not in the noconflict version), since the same was used before as well.

Further, we need to change our migration for storing editor events. Since the table is not yet used (in production), we also update the enum.
This commit is contained in:
Sebastian Serth
2023-09-12 15:09:49 +02:00
parent a7fa9b5b04
commit 735a74901f
325 changed files with 232338 additions and 1057 deletions

38
vendor/assets/javascripts/ace/snippets/textile.js vendored Executable file → Normal file
View File

@ -1 +1,37 @@
define("ace/snippets/textile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Jekyll post header\nsnippet header\n ---\n title: ${1:title}\n layout: post\n date: ${2:date} ${3:hour:minute:second} -05:00\n ---\n\n# Image\nsnippet img\n !${1:url}(${2:title}):${3:link}!\n\n# Table\nsnippet |\n |${1}|${2}\n\n# Link\nsnippet link\n "${1:link text}":${2:url}\n\n# Acronym\nsnippet (\n (${1:Expand acronym})${2}\n\n# Footnote\nsnippet fn\n [${1:ref number}] ${3}\n\n fn$1. ${2:footnote}\n \n',t.scope="textile"})
define("ace/snippets/textile",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "# Jekyll post header\n\
snippet header\n\
---\n\
title: ${1:title}\n\
layout: post\n\
date: ${2:date} ${3:hour:minute:second} -05:00\n\
---\n\
\n\
# Image\n\
snippet img\n\
!${1:url}(${2:title}):${3:link}!\n\
\n\
# Table\n\
snippet |\n\
|${1}|${2}\n\
\n\
# Link\n\
snippet link\n\
\"${1:link text}\":${2:url}\n\
\n\
# Acronym\n\
snippet (\n\
(${1:Expand acronym})${2}\n\
\n\
# Footnote\n\
snippet fn\n\
[${1:ref number}] ${3}\n\
\n\
fn$1. ${2:footnote}\n\
\n\
";
exports.scope = "textile";
});