Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/11193

Vanessa5b56272db084
diff --git a/app/src/block/util.ts b/app/src/block/util.ts
index 165e6f7952..2861826c8e 100644
--- a/app/src/block/util.ts
+++ b/app/src/block/util.ts
@@ -80,10 +80,11 @@ export const jumpToParent = (protyle: IProtyle, nodeElement: Element, type: "par
if (!targetId) {
return;
}
+
openFileById({
app: protyle.app,
id: targetId,
- action: [Constants.CB_GET_FOCUS]
+ action: [Constants.CB_GET_FOCUS, targetId !== protyle.block.rootID && protyle.block.showAll ? Constants.CB_GET_ALL : ""]
})
});
};