mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
codeEditor.options should take precedence
- over plugins monacoOptions
This commit is contained in:
parent
5825da9c76
commit
c20ca3399e
@ -254,7 +254,7 @@ module.exports = {
|
|||||||
theme.page._.scripts = scriptFiles.concat(theme.page._.scripts || [])
|
theme.page._.scripts = scriptFiles.concat(theme.page._.scripts || [])
|
||||||
}
|
}
|
||||||
if(theme.codeEditor) {
|
if(theme.codeEditor) {
|
||||||
theme.codeEditor.options = Object.assign({}, theme.codeEditor.options, themePlugin.monacoOptions);
|
theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
activeThemeInitialised = true;
|
activeThemeInitialised = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user