mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
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
Add a link
Reference in a new issue