From 8a6922b56fb6e2d004c74dc1cbedf497f48ad7f3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 22 Aug 2025 19:05:17 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15614 --- app/src/protyle/render/av/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 5b21755e3..808692668 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -199,7 +199,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle return true; } else if (target.classList.contains("b3-menu__avemoji") && !protyle.disabled) { const rect = target.getBoundingClientRect(); - openEmojiPanel(target.parentElement.getAttribute("data-block-id"), "doc", { + openEmojiPanel(target.nextElementSibling.getAttribute("data-id"), "doc", { x: rect.left, y: rect.bottom, h: rect.height,