mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-18 16:32:33 +08:00
Changed mermaid button to lower case.
This commit is contained in:
parent
479a8008c6
commit
6f90c0240e
@ -52,7 +52,7 @@ export default class MermaidUI extends Plugin {
|
|||||||
const editor = this.editor;
|
const editor = this.editor;
|
||||||
const t = editor.t;
|
const t = editor.t;
|
||||||
|
|
||||||
editor.ui.componentFactory.add( 'Mermaid', locale => {
|
editor.ui.componentFactory.add( 'mermaid', locale => {
|
||||||
const buttonView = new ButtonView( locale );
|
const buttonView = new ButtonView( locale );
|
||||||
const command = editor.commands.get( 'insertMermaidCommand' );
|
const command = editor.commands.get( 'insertMermaidCommand' );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user