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.
2 parents 9e59973 + 91ce5a6 commit 794ce3bCopy full SHA for 794ce3b
.changeset/vast-paths-open.md
@@ -0,0 +1,5 @@
1
+---
2
+"kilo-code": patch
3
4
+
5
+Fix not being able to open Mermaid diagrams in a tab or save them
webview-ui/src/components/common/MermaidBlock.tsx
@@ -284,6 +284,7 @@ export default function MermaidBlock({ code: originalCode }: MermaidBlockProps)
284
{/* kilocode_change start switched from ref to dangerouslySetInnerHTML */}
285
<SvgContainer
286
onClick={handleClick}
287
+ ref={containerRef}
288
$isLoading={isLoading}
289
dangerouslySetInnerHTML={{ __html: svgContent }}
290
/>
0 commit comments