From de090512ad256ca05f73c21b3cf8e25d8352df43 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 16 May 2025 09:59:34 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12249 2 --- app/src/protyle/wysiwyg/transaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts index 37c3da301..489d2f381 100644 --- a/app/src/protyle/wysiwyg/transaction.ts +++ b/app/src/protyle/wysiwyg/transaction.ts @@ -268,7 +268,7 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => { const updateHTML = (item: Element, html: string) => { const tempElement = document.createElement("template"); - tempElement.innerHTML = html; + tempElement.innerHTML = protyle.lute.SpinBlockDOM(html); tempElement.content.querySelectorAll('[contenteditable="true"]').forEach(editItem => { editItem.setAttribute("contenteditable", "false"); });