mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
add default basic entries in settings,js
- defaults to "ace" but provides instruction for using monaco
This commit is contained in:
parent
0a80186a92
commit
a6f116b57b
15
packages/node_modules/node-red/settings.js
vendored
15
packages/node_modules/node-red/settings.js
vendored
@ -337,6 +337,21 @@ module.exports = {
|
||||
// section of 'User Settings' within the editor
|
||||
mode: "manual"
|
||||
}
|
||||
},
|
||||
codeEditor: {
|
||||
lib: "ace", //can be "monaco" or "ace"
|
||||
options: {
|
||||
//// theme - must match the file name of a theme in
|
||||
//// packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
|
||||
//// e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
|
||||
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
|
||||
//fontSize: 14,
|
||||
//fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace"
|
||||
//fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace"
|
||||
//fontLigatures: true,
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user