Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/12150

Vanessaa63c545ad5ea
diff --git a/app/src/layout/tabUtil.ts b/app/src/layout/tabUtil.ts
index 4200f56383..d956e9be84 100644
--- a/app/src/layout/tabUtil.ts
+++ b/app/src/layout/tabUtil.ts
@@ -257,7 +257,9 @@ export const copyTab = (app: App, tab: Tab) => {
app,
tab: newTab,
blockId: tab.model.editor.protyle.block.id,
- rootId: tab.model.editor.protyle.block.rootID
+ rootId: tab.model.editor.protyle.block.rootID,
+ // https://github.com/siyuan-note/siyuan/issues/12150
+ action: tab.model.editor.protyle.block.action,
});
} else if (tab.model instanceof Asset) {
model = new Asset({