mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-06 12:59:55 -06:00
feat: allow custom config
This commit is contained in:
@@ -290,6 +290,6 @@ export default class MermaidEditing extends Plugin {
|
||||
await this._config.lazyLoad();
|
||||
}
|
||||
|
||||
mermaid.init( undefined, domElement );
|
||||
mermaid.init( this._config.config, domElement );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user