Allow HTML nodes in mermaid diagrams (#2192)

This commit is contained in:
Abitofevrything
2021-09-30 20:12:23 +02:00
committed by GitHub
parent 831de3ffed
commit 2c450fc72d
2 changed files with 2 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ export default class MermaidWidget extends NoteContextAwareWidget {
mermaid.mermaidAPI.initialize({
startOnLoad: false,
theme: mermaidTheme.trim(),
securityLevel: 'antiscript',
flow: { useMaxWidth: false },
sequence: { useMaxWidth: false },
gantt: { useMaxWidth: false },