mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
1dc5a371f6
commit
5fac682e6f
13 changed files with 120 additions and 111 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue