mirror of https://github.com/node-red/node-red.git
Allow codeEditor theme to be set missing from settings.js
parent
1b94cc3ac0
commit
bc7852c1cc
|
@ -327,9 +327,8 @@ module.exports = {
|
|||
themeContext.header.url = themePlugin.header.url || themeContext.header.url
|
||||
}
|
||||
}
|
||||
if(theme.codeEditor) {
|
||||
theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options);
|
||||
}
|
||||
theme.codeEditor = theme.codeEditor || {}
|
||||
theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options);
|
||||
}
|
||||
activeThemeInitialised = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue