An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Prevent non-text database cells from restoring stale mobile focus https://github.com/siyuan-note/siyuan/issues/18845
Danield599341982d0
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex 7be7e8fd96..ee55f54ded 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -22,6 +22,9 @@ import {getFieldsByData} from "./view";import {getCompressURL, removeCompressURL} from "../../../util/image";import {isBrowserRenderableImagePath} from "../../../util/imageURL";import {callMobileAppShowKeyboard} from "../../../mobile/util/mobileAppUtil";+/// #if MOBILE+import {activeBlur} from "../../../mobile/util/keyboardToolbar";+/// #endifimport {cellValueIsEmpty,cloneAVCellValueSnapshot,@@ -476,6 +479,9 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[], type} else if (type === "number") {html = `<input type="number" spellcheck="false" value="${cellElements[0].firstElementChild.getAttribute("data-content")}" ${style} class="b3-text-field">`;} else {+ /// #if MOBILE+ activeBlur();+ /// #endifif (["select", "mSelect"].includes(type)) {if (blockElement.getAttribute("data-rendering") === "true") {options?.destroyCallback?.();