From d2a8338d4ac2d235b6044ec134836a73b7404ac2 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 20 Nov 2023 17:50:59 +0000 Subject: [PATCH] Rename mermaidOptions to mermaid for contrib themes --- packages/node_modules/@node-red/editor-api/lib/editor/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d58926d68..e5c3904c7 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 @@ -340,7 +340,7 @@ module.exports = { theme.codeEditor = theme.codeEditor || {} theme.codeEditor.options = Object.assign({}, themePlugin.monacoOptions, theme.codeEditor.options); - theme.mermaid = Object.assign({}, themePlugin.mermaidOptions, theme.mermaid) + theme.mermaid = Object.assign({}, themePlugin.mermaid, theme.mermaid) } activeThemeInitialised = true; }