Changed mermaid button to lower case.

This commit is contained in:
Marek Lewandowski 2022-03-08 11:11:59 +01:00
parent 479a8008c6
commit 6f90c0240e

View File

@ -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' );