mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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 : ""]
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user