2
0
Эх сурвалжийг харах

Suppress mermaid error rendering (#5308)

Matt Rubens 6 сар өмнө
parent
commit
a1ae29cdcd

+ 1 - 0
webview-ui/src/components/common/MermaidBlock.tsx

@@ -46,6 +46,7 @@ mermaid.initialize({
 	startOnLoad: false,
 	startOnLoad: false,
 	securityLevel: "loose",
 	securityLevel: "loose",
 	theme: "dark",
 	theme: "dark",
+	suppressErrorRendering: true,
 	themeVariables: {
 	themeVariables: {
 		...MERMAID_THEME,
 		...MERMAID_THEME,
 		fontSize: "16px",
 		fontSize: "16px",