Skip to content

Commit

Permalink
avoid mermaid initialization on init
Browse files Browse the repository at this point in the history
  • Loading branch information
nc-andreashaller committed Nov 12, 2024
1 parent 81962cb commit d0bec40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/mermaid/mermaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import mermaid from './libs/mermaid.esm.min.mjs';

mermaid.initialize({
logLevel: 'warn',
startOnLoad: false,
});

export default class Mermaid extends ComponentBase {
Expand Down

0 comments on commit d0bec40

Please sign in to comment.