Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/13207

Vanessa4ac49f670594
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts
index 233acd1bbd..b082a2fc2c 100644
--- a/app/src/mobile/util/touch.ts
+++ b/app/src/mobile/util/touch.ts
@@ -74,8 +74,8 @@ export const handleTouchEnd = (event: TouchEvent) => {
}
event.stopImmediatePropagation();
event.preventDefault();
+ return;
}
- return;
}
if (typeof yDiff === "undefined" && window.siyuan.mobile.editor.protyle.options.render.gutter) {
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 9f855851a5..3c7e4e86d2 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -2101,7 +2101,7 @@ export class WYSIWYG {
let beforeContextmenuRange: Range;
this.element.addEventListener("contextmenu", (event: MouseEvent & { detail: any }) => {
- if (event.shiftKey) {
+ if (event.shiftKey || protyle.toolbar.isMultiSelectMode()) {
return;
}
event.stopPropagation();