mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
c92240a085
commit
8a6922b56f
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
|
||||||
return true;
|
return true;
|
||||||
} else if (target.classList.contains("b3-menu__avemoji") && !protyle.disabled) {
|
} else if (target.classList.contains("b3-menu__avemoji") && !protyle.disabled) {
|
||||||
const rect = target.getBoundingClientRect();
|
const rect = target.getBoundingClientRect();
|
||||||
openEmojiPanel(target.parentElement.getAttribute("data-block-id"), "doc", {
|
openEmojiPanel(target.nextElementSibling.getAttribute("data-id"), "doc", {
|
||||||
x: rect.left,
|
x: rect.left,
|
||||||
y: rect.bottom,
|
y: rect.bottom,
|
||||||
h: rect.height,
|
h: rect.height,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue