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);