mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 13:41:36 +08:00
This commit is contained in:
parent
59bff8376a
commit
dc0a6fa57c
@ -62,6 +62,7 @@ export class Editor extends Model {
|
||||
}
|
||||
},
|
||||
});
|
||||
// 需在 after 回调之前,否则不会聚焦 https://github.com/siyuan-note/siyuan/issues/5303
|
||||
this.editor.protyle.model = this;
|
||||
}
|
||||
}
|
||||
|
@ -185,6 +185,7 @@ class Protyle {
|
||||
});
|
||||
}
|
||||
});
|
||||
// 需等渲染完后再回调,用于定位搜索字段 https://github.com/siyuan-note/siyuan/issues/3171
|
||||
if (mergedOptions.after) {
|
||||
mergedOptions.after(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user