mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
feat: allow custom config
This commit is contained in:
parent
f37de61dfb
commit
4fbe34ae13
@ -290,6 +290,6 @@ export default class MermaidEditing extends Plugin {
|
||||
await this._config.lazyLoad();
|
||||
}
|
||||
|
||||
mermaid.init( undefined, domElement );
|
||||
mermaid.init( this._config.config, domElement );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user