From de53da0f2795e0512b5e88dd49abfb1f0558d144 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 31 Oct 2025 12:44:34 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16159 --- app/src/util/backForward.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/util/backForward.ts b/app/src/util/backForward.ts index c2e9cd18d..5940f0f37 100644 --- a/app/src/util/backForward.ts +++ b/app/src/util/backForward.ts @@ -57,9 +57,10 @@ const focusStack = async (app: App, stack: IBackStack) => { const editor = new Editor({ app: app, tab, - blockId: stack.zoomId || stack.protyle.block.rootID, + blockId: stack.zoomId || stack.id || stack.protyle.block.rootID, rootId: stack.protyle.block.rootID, - action: stack.zoomId ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL, Constants.CB_GET_UNUNDO] : [Constants.CB_GET_FOCUS, Constants.CB_GET_UNUNDO] + action: stack.zoomId ? [Constants.CB_GET_FOCUS, Constants.CB_GET_SCROLL, Constants.CB_GET_ALL, Constants.CB_GET_UNUNDO] : + [Constants.CB_GET_FOCUS, Constants.CB_GET_SCROLL, Constants.CB_GET_UNUNDO] }); tab.addModel(editor); }