From be09a116022b9966106ca6f685e0fbf68e608fe0 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 16 Aug 2023 17:16:23 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/8983 --- app/src/protyle/wysiwyg/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 9daef45c3..3aa17cd31 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -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")) {