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/16548
Vanessa5da5e73a095e
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.tsindex e4ff2c93ee..6a01fcd4db 100644--- a/app/src/mobile/util/touch.ts+++ b/app/src/mobile/util/touch.ts@@ -30,7 +30,7 @@ export const handleTouchEnd = (event: TouchEvent, app: App) => {const target = event.target as HTMLElement;const wysisygElement = hasClosestByClassName(target, "protyle-wysiwyg", true);if (!yDiff || Math.abs(yDiff) < 10) {- let editElement;+ let editElement: HTMLElement;if (["INPUT", "TEXTAREA"].includes(target.tagName) && target.getAttribute("readonly") !== "true") {editElement = target;} else if (wysisygElement && wysisygElement.getAttribute("data-readonly") === "false") {@@ -40,9 +40,11 @@ export const handleTouchEnd = (event: TouchEvent, app: App) => {if (editElement.getAttribute("virtualkeyboardpolicy") !== "manual") {editElement.setAttribute("virtualkeyboardpolicy", "manual");setTimeout(() => {+ editElement.focus();window.JSAndroid?.showKeyboard();}, 100);} else {+ editElement.focus();window.JSAndroid?.showKeyboard();}} else {diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex 16cce4dd8b..b38f661624 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -277,7 +277,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle} else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) {if (target.classList.contains("item--focus")) {openViewMenu({protyle, blockElement, element: target});- } else if (protyle.options.action.includes(Constants.CB_GET_HISTORY)){+ } else if (protyle.options.action.includes(Constants.CB_GET_HISTORY)) {blockElement.setAttribute(Constants.CUSTOM_SY_AV_VIEW, target.dataset.id);blockElement.removeAttribute("data-render");avRender(blockElement, protyle);@@ -329,6 +329,8 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle}setTimeout(() => {searchElement.focus();+ // TODO+ window.JSAndroid?.showKeyboard();}, Constants.TIMEOUT_TRANSITION);event.preventDefault();event.stopPropagation();