Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/13444

Vanessa352ff0676e21
diff --git a/app/src/util/backForward.ts b/app/src/util/backForward.ts
index 0e762a9e67..c2e9cd18db 100644
--- a/app/src/util/backForward.ts
+++ b/app/src/util/backForward.ts
@@ -59,7 +59,7 @@ const focusStack = async (app: App, stack: IBackStack) => {
tab,
blockId: stack.zoomId || stack.protyle.block.rootID,
rootId: stack.protyle.block.rootID,
- action: stack.zoomId ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL] : [Constants.CB_GET_FOCUS]
+ action: stack.zoomId ? [Constants.CB_GET_FOCUS, Constants.CB_GET_ALL, Constants.CB_GET_UNUNDO] : [Constants.CB_GET_FOCUS, Constants.CB_GET_UNUNDO]
});
tab.addModel(editor);
}