Vanessa 2023-12-31 11:13:05 +08:00
parent fc5f24658d
commit 2e69b019e0
8 changed files with 22 additions and 35 deletions

View file

@ -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,