From 5b56272db084e4de5ddb27812caa99ab0feae173 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 1 May 2024 09:47:01 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11193 --- app/src/block/util.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/block/util.ts b/app/src/block/util.ts index 165e6f795..2861826c8 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 : ""] }) }); };