1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Clarify codeEditor options only relate to monaco

This commit is contained in:
Nick O'Leary 2021-05-18 16:46:16 +01:00
parent a9164e63ab
commit f97569dd34
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -56,7 +56,7 @@ module.exports = {
// The working directory to handle relative file paths from within the File nodes
// defaults to the working directory of the Node-RED process.
//fileWorkingDirectory: "",
// Timeout in milliseconds for inbound WebSocket connections that do not
// match any configured node.
// defaults to 5000
@ -345,8 +345,10 @@ module.exports = {
},
codeEditor: {
lib: "ace", //can be "monaco" or "ace"
options: {
//// theme - must match the file name of a theme in
options: {
//// The follow options only apply if the editor is set to "monaco"
////
//// 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",