mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
dabcc89a60
commit
f2ba1da9c0
1 changed files with 1 additions and 1 deletions
|
|
@ -2610,7 +2610,7 @@ export class WYSIWYG {
|
||||||
}
|
}
|
||||||
|
|
||||||
const emojiElement = hasTopClosestByClassName(event.target, "emoji");
|
const emojiElement = hasTopClosestByClassName(event.target, "emoji");
|
||||||
if (!event.shiftKey && !ctrlIsPressed && emojiElement) {
|
if (!protyle.disabled && !event.shiftKey && !ctrlIsPressed && emojiElement) {
|
||||||
const nodeElement = hasClosestBlock(emojiElement);
|
const nodeElement = hasClosestBlock(emojiElement);
|
||||||
if (nodeElement) {
|
if (nodeElement) {
|
||||||
const emojiRect = emojiElement.getBoundingClientRect();
|
const emojiRect = emojiElement.getBoundingClientRect();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue