Kaynağa Gözat

Suppress mermaid error rendering (#5308)

Matt Rubens 6 ay önce
ebeveyn
işleme
a1ae29cdcd

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

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