mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
13ec977e19
commit
be09a11602
1 changed files with 1 additions and 0 deletions
|
|
@ -1316,6 +1316,7 @@ export class WYSIWYG {
|
|||
return false;
|
||||
}
|
||||
if (!isNotEditBlock(nodeElement) && !nodeElement.classList.contains("protyle-wysiwyg--select") &&
|
||||
!hasClosestByClassName(target, "protyle-action") && // https://github.com/siyuan-note/siyuan/issues/8983
|
||||
(isMobile() || event.detail.target || (beforeContextmenuRange && nodeElement.contains(beforeContextmenuRange.startContainer)))
|
||||
) {
|
||||
if ((!isMobile() || protyle.toolbar?.element.classList.contains("fn__none")) && !nodeElement.classList.contains("av")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue