We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06985c7 commit e32fa57Copy full SHA for e32fa57
webview-ui/src/components/common/MermaidBlock.tsx
@@ -266,6 +266,7 @@ export default function MermaidBlock({ code: originalCode }: MermaidBlockProps)
266
<MermaidButton containerRef={containerRef} code={code} isLoading={isLoading} svgToPng={svgToPng}>
267
<SvgContainer
268
onClick={handleClick}
269
+ ref={containerRef}
270
$isLoading={isLoading}
271
dangerouslySetInnerHTML={{ __html: svgContent }}
272
/>
0 commit comments