瀏覽代碼

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

Vanessa 11 月之前
父節點
當前提交
a63c545ad5
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/src/layout/tabUtil.ts

+ 3 - 1
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({