An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/13207
Vanessa508721bebd23
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.tsindex bbfbedd5e9..ccdafd7d6f 100644--- a/app/src/mobile/util/touch.ts+++ b/app/src/mobile/util/touch.ts@@ -252,8 +252,13 @@ export const handleTouchStart = (event: TouchEvent) => {const blockElement = hasClosestBlock(target);if (blockElement && editor.protyle.wysiwyg.element.contains(blockElement)) {longPressTimer = window.setTimeout(() => {+ // 用户已通过原生长按选中文本时,不进入多选模式+ const selection = window.getSelection();+ if (selection && selection.toString() !== "") {+ return;+ }// 清空系统文本选区,避免原生长按选中的残留- window.getSelection().removeAllRanges();+ selection?.removeAllRanges();activeBlur();editor.protyle.toolbar.showMultiSelectMode(editor.protyle, blockElement);}, Constants.TIMEOUT_MULTIPLE_SELECT);