mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
use codeEditor.options.theme
This commit is contained in:
@@ -246,7 +246,10 @@ module.exports = {
|
||||
theme.page = theme.page || {_:{}}
|
||||
theme.page._.scripts = scriptFiles.concat(theme.page._.scripts || [])
|
||||
}
|
||||
themeSettings.monacoTheme = themePlugin.monacoTheme;
|
||||
if(theme.codeEditor) {
|
||||
theme.codeEditor.options = theme.codeEditor.options || {};
|
||||
theme.codeEditor.options.theme = themePlugin.monacoTheme;
|
||||
}
|
||||
}
|
||||
activeThemeInitialised = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user