From 6f90c0240efbdedabe872e985795774453221a9f Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Tue, 8 Mar 2022 11:11:59 +0100 Subject: [PATCH] Changed mermaid button to lower case. --- src/mermaidui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mermaidui.js b/src/mermaidui.js index 0d9000d58..f8a8193e4 100644 --- a/src/mermaidui.js +++ b/src/mermaidui.js @@ -52,7 +52,7 @@ export default class MermaidUI extends Plugin { const editor = this.editor; const t = editor.t; - editor.ui.componentFactory.add( 'Mermaid', locale => { + editor.ui.componentFactory.add( 'mermaid', locale => { const buttonView = new ButtonView( locale ); const command = editor.commands.get( 'insertMermaidCommand' );