This commit is contained in:
parent
a325ac26db
commit
5b56272db0
1 changed files with 2 additions and 1 deletions
|
@ -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 : ""]
|
||||
})
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue