From a63c545ad5ea79500298f32baa3e3a844c6fc06d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 5 Aug 2024 23:09:54 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/12150 --- app/src/layout/tabUtil.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/layout/tabUtil.ts b/app/src/layout/tabUtil.ts index 4200f5638..d956e9be8 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({