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:
parent
a9164e63ab
commit
f97569dd34
8
packages/node_modules/node-red/settings.js
vendored
8
packages/node_modules/node-red/settings.js
vendored
@ -56,7 +56,7 @@ module.exports = {
|
|||||||
// The working directory to handle relative file paths from within the File nodes
|
// The working directory to handle relative file paths from within the File nodes
|
||||||
// defaults to the working directory of the Node-RED process.
|
// defaults to the working directory of the Node-RED process.
|
||||||
//fileWorkingDirectory: "",
|
//fileWorkingDirectory: "",
|
||||||
|
|
||||||
// Timeout in milliseconds for inbound WebSocket connections that do not
|
// Timeout in milliseconds for inbound WebSocket connections that do not
|
||||||
// match any configured node.
|
// match any configured node.
|
||||||
// defaults to 5000
|
// defaults to 5000
|
||||||
@ -345,8 +345,10 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
codeEditor: {
|
codeEditor: {
|
||||||
lib: "ace", //can be "monaco" or "ace"
|
lib: "ace", //can be "monaco" or "ace"
|
||||||
options: {
|
options: {
|
||||||
//// theme - must match the file name of a theme in
|
//// 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
|
//// packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
|
||||||
//// e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
|
//// e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
|
||||||
theme: "vs",
|
theme: "vs",
|
||||||
|
Loading…
Reference in New Issue
Block a user