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/18055
Vanessa8845156a9611
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.tsindex 9f37ef0b11..517813d5c9 100644--- a/app/src/mobile/util/touch.ts+++ b/app/src/mobile/util/touch.ts@@ -97,19 +97,20 @@ export const handleTouchEnd = (event: TouchEvent) => {return;}}- if (typeof yDiff === "undefined" && window.siyuan.mobile.editor?.protyle.options.render.gutter) {+ const currentEditor = getCurrentEditor();+ if (typeof yDiff === "undefined" && currentEditor?.protyle.options.render.gutter) {const nodeElement = hasClosestBlock(target);if (nodeElement) {- if (nodeElement && (nodeElement.classList.contains("list") || nodeElement.classList.contains("li"))) {+ if (nodeElement.classList.contains("list") || nodeElement.classList.contains("li")) {// 光标在列表下部应显示右侧的元素,而不是列表本身。放在 windowEvent 中的 mousemove 下处理return;}const embedElement = isInEmbedBlock(nodeElement);if (embedElement) {- window.siyuan.mobile.editor.protyle.gutter.render(window.siyuan.mobile.editor.protyle, embedElement);+ currentEditor.protyle.gutter.render(currentEditor.protyle, embedElement);return;}- window.siyuan.mobile.editor.protyle.gutter.render(window.siyuan.mobile.editor.protyle, nodeElement, target);+ currentEditor.protyle.gutter.render(currentEditor.protyle, nodeElement, target);}}isFirstMove = true;