Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:iphone: fix https://github.com/siyuan-note/siyuan/issues/9111

Vanessa36a8d52f8f26
diff --git a/app/src/boot/globalEvent/touch.ts b/app/src/boot/globalEvent/touch.ts
index 4e47e9066c..936d9de3a0 100644
--- a/app/src/boot/globalEvent/touch.ts
+++ b/app/src/boot/globalEvent/touch.ts
@@ -45,7 +45,7 @@ export const globalTouchEnd = (event: TouchEvent, yDiff: number, time: number, a
if (target.tagName === "SPAN" && !hasClosestByAttribute(target, "data-type", "NodeBlockQueryEmbed")) {
let editor: Protyle
if (isIPhone()) {
- if (hasClosestByClassName(target, "protyle-wysiwyg")) {
+ if (hasClosestByClassName(target, "protyle-wysiwyg", true)) {
editor = getCurrentEditor();
}
} else {