mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
fc5f24658d
commit
2e69b019e0
8 changed files with 22 additions and 35 deletions
|
|
@ -235,7 +235,6 @@ export const copyTab = (app: App, tab: Tab) => {
|
|||
callback(newTab: Tab) {
|
||||
let model: Model;
|
||||
if (tab.model instanceof Editor) {
|
||||
saveScroll(tab.model.editor.protyle);
|
||||
model = new Editor({
|
||||
app,
|
||||
tab: newTab,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue