From 750d2c76f52eb0ed1569cb62a76d3331dc14e0a5 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Sat, 23 Apr 2022 10:04:09 +0100 Subject: [PATCH] set monaco as default from v3 --- packages/node_modules/node-red/settings.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/node_modules/node-red/settings.js b/packages/node_modules/node-red/settings.js index 89994e9c3..33260e9b9 100644 --- a/packages/node_modules/node-red/settings.js +++ b/packages/node_modules/node-red/settings.js @@ -359,9 +359,9 @@ module.exports = { codeEditor: { /** Select the text editor component used by the editor. - * Defaults to "ace", but can be set to "ace" or "monaco" + * As of Node-RED V3, this defaults to "monaco", but can be set to "ace" if desired */ - lib: "ace", + lib: "monaco", options: { /** The follow options only apply if the editor is set to "monaco" * @@ -371,7 +371,7 @@ module.exports = { */ theme: "vs", /** other overrides can be set e.g. fontSize, fontFamily, fontLigatures etc. - * for the full list, see https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.istandaloneeditorconstructionoptions.html + * for the full list, see https://microsoft.github.io/monaco-editor/api/interfaces/monaco.editor.IStandaloneEditorConstructionOptions.html */ //fontSize: 14, //fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace",