diff --git a/package-lock.json b/package-lock.json index 534c08b4..d8a3e80c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "hasInstallScript": true, "license": "GPL-3.0", "dependencies": { - "ace-builds": "^1.4.12", + "ace-builds": "^1.17.0", "big-integer": "^1.6.25", "bootstrap": "^3.4.1", "bootswatch": "^3.3.7", @@ -111,9 +111,10 @@ } }, "node_modules/ace-builds": { - "version": "1.32.3", - "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.32.3.tgz", - "integrity": "sha512-ptSTUmDEU+LuwGiPY3/qQPmmAWE27vuv5sASL8swLRyLGJb7Ye7a8MrJ4NnAkFh1sJgVUqKTEGWRRFDmqYPw2Q==" + "version": "1.36.2", + "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.36.2.tgz", + "integrity": "sha512-eqqfbGwx/GKjM/EnFu4QtQ+d2NNBu84MGgxoG8R5iyFpcVeQ4p9YlTL+ZzdEJqhdkASqoqOxCSNNGyB6lvMm+A==", + "license": "BSD-3-Clause" }, "node_modules/ansi-styles": { "version": "3.2.1", diff --git a/package.json b/package.json index 74974386..40e632a3 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "doc": "docs" }, "dependencies": { - "ace-builds": "^1.4.12", + "ace-builds": "^1.17.0", "big-integer": "^1.6.25", "bootstrap": "^3.4.1", "bootswatch": "^3.3.7", diff --git a/src/v1/app.layout.ts b/src/v1/app.layout.ts index 570f8c9f..0cef3bc4 100644 --- a/src/v1/app.layout.ts +++ b/src/v1/app.layout.ts @@ -60,6 +60,7 @@ export class LayoutManager { editor.getSession().setMode(`ace/mode/${lang}`); if (lang === "yaml") editor.setOption("tabSize", 2); + editor.setOption("enableKeyboardAccessibility", true); editor.$blockScrolling = Infinity; // TODO: remove this line after they fix ACE not to throw warning to the console editor.setReadOnly(isReadOnly); if (callback)