mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Merge pull request #3794 from Steve-Mcl/fix-code-editor-theme-from-theme
Allow codeEditor theme to be set even if `codeEditor` is not set in settings.js
This commit is contained in:
		| @@ -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; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user