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