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 : ""] }) }); };