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: fix https://github.com/siyuan-note/siyuan/issues/7730
Vanessa0c24f6d39da9
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex d906456a9b..e157406650 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -451,6 +451,7 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushBpushBack();}}+ /// #if !MOBILEif (protyle.breadcrumb) {const exitFocusElement = protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');if (id === protyle.block.rootID) {@@ -461,6 +462,7 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushBexitFocusElement.nextElementSibling.classList.remove("fn__none");}}+ /// #endiffetchPost("/api/filetree/getDoc", {id,size: id === protyle.block.rootID ? window.siyuan.config.editor.dynamicLoadBlocks : Constants.SIZE_GET_MAX,diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.tsindex 575f2d5ce5..eda2742d28 100644--- a/app/src/mobile/editor.ts+++ b/app/src/mobile/editor.ts@@ -53,14 +53,6 @@ export const openMobileFileById = (id: string, action = [Constants.CB_GET_HL]) =}, getResponse => {onGet(getResponse, window.siyuan.mobile.editor.protyle, action);window.siyuan.mobile.editor.protyle.breadcrumb?.render(window.siyuan.mobile.editor.protyle);- const exitFocusElement = window.siyuan.mobile.editor.protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');- if (action.includes(Constants.CB_GET_ALL)) {- exitFocusElement.classList.remove("fn__none");- exitFocusElement.nextElementSibling.classList.remove("fn__none");- } else {- exitFocusElement.classList.add("fn__none");- exitFocusElement.nextElementSibling.classList.add("fn__none");- }});window.siyuan.mobile.editor.protyle.undo.clear();} else {