From a11874869386988429b437f144f44278abafd2e8 Mon Sep 17 00:00:00 2001 From: Adarsh Date: Sat, 7 Mar 2026 02:34:43 +0530 Subject: [PATCH] Fix: artifacts not rendering --- lib/editor/functions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/editor/functions.tsx b/lib/editor/functions.tsx index 3ff667bd99..5d17dbf84c 100644 --- a/lib/editor/functions.tsx +++ b/lib/editor/functions.tsx @@ -12,7 +12,7 @@ import { createSuggestionWidget, type UISuggestion } from "./suggestions"; export const buildDocumentFromContent = (content: string) => { const parser = DOMParser.fromSchema(documentSchema); - const stringFromMarkdown = renderToString({content}); + const stringFromMarkdown = renderToString({content}); const tempContainer = document.createElement("div"); tempContainer.innerHTML = stringFromMarkdown; return parser.parse(tempContainer);