mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 16:46:22 +08:00
fix(editor): remove rootRect and modify layout
This commit is contained in:
@@ -12,7 +12,7 @@ export class AddCommentPlugin extends BasePlugin {
|
||||
|
||||
private root: PluginRenderRoot;
|
||||
|
||||
protected override on_render(): void {
|
||||
protected override _onRender(): void {
|
||||
this.root = new PluginRenderRoot({
|
||||
name: AddCommentPlugin.pluginName,
|
||||
render: this.editor.reactRenderRoot?.render,
|
||||
|
||||
Reference in New Issue
Block a user