Selaa lähdekoodia

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

Vanessa 11 kuukautta sitten
vanhempi
commit
a63c545ad5
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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,
                     app,
                     tab: newTab,
                     tab: newTab,
                     blockId: tab.model.editor.protyle.block.id,
                     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) {
             } else if (tab.model instanceof Asset) {
                 model = new Asset({
                 model = new Asset({