Vanessa 2023-12-09 22:58:33 +08:00
parent 1dc5a371f6
commit 5fac682e6f
13 changed files with 120 additions and 111 deletions

View file

@ -235,7 +235,8 @@ export const copyTab = (app: App, tab: Tab) => {
model = new Editor({
app,
tab: newTab,
blockId: tab.model.editor.protyle.block.id
blockId: tab.model.editor.protyle.block.id,
rootId: tab.model.editor.protyle.block.rootID
});
} else if (tab.model instanceof Asset) {
model = new Asset({