diff --git a/app/src/boot/globalEvent/touch.ts b/app/src/boot/globalEvent/touch.ts index 4e47e9066..936d9de3a 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 {