diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js index f926af253..6ffc2fc01 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js @@ -254,7 +254,7 @@ module.exports = { theme.page._.scripts = scriptFiles.concat(theme.page._.scripts || []) } 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;