From ac4f358b4b9c815c854eb8ba711da5fef8aaa8ce Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 31 Jan 2026 18:02:19 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16944 --- app/src/protyle/util/insertHTML.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.ts index 66ca7e6f3..d7e19a1a2 100644 --- a/app/src/protyle/util/insertHTML.ts +++ b/app/src/protyle/util/insertHTML.ts @@ -292,7 +292,7 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false, return; } - if (blockElement.classList.contains("av")) { + if (blockElement.classList.contains("av") && !isBlock) { range.deleteContents(); processAV(range, html, protyle, blockElement as HTMLElement); return;