From 90a8e679b3b86d6910b806e05e34e5cbd04504c7 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 14 Mar 2025 23:21:14 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14309 --- app/src/protyle/wysiwyg/input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/input.ts b/app/src/protyle/wysiwyg/input.ts index c7cd1b29b..1af8ab354 100644 --- a/app/src/protyle/wysiwyg/input.ts +++ b/app/src/protyle/wysiwyg/input.ts @@ -22,7 +22,7 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range: if (blockElement.classList.contains("av")) { const avCursorElement = hasClosestByClassName(range.startContainer, "av__cursor"); if (avCursorElement) { - range.startContainer.textContent = Constants.ZWSP; + avCursorElement.textContent = Constants.ZWSP; } else { updateAVName(protyle, blockElement); }