mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-14 00:26:51 +08:00
fix: whiteboard -> edgeless
This commit is contained in:
@@ -14,7 +14,7 @@ export class GroupMenuPlugin extends BasePlugin {
|
||||
}
|
||||
|
||||
protected override _onRender(): void {
|
||||
if (this.editor.isWhiteboard) return;
|
||||
if (this.editor.isEdgeless) return;
|
||||
this.root = new PluginRenderRoot({
|
||||
name: PLUGIN_NAME,
|
||||
render: this.editor.reactRenderRoot.render,
|
||||
|
||||
Reference in New Issue
Block a user