Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: add dispose

SaikaSakura9cd1890bb6b3
diff --git a/libs/components/editor-core/src/editor/editor.ts b/libs/components/editor-core/src/editor/editor.ts
index d410db75a2..37d70da2bc 100644
--- a/libs/components/editor-core/src/editor/editor.ts
+++ b/libs/components/editor-core/src/editor/editor.ts
@@ -444,6 +444,7 @@ export class Editor implements Virgo {
this.hooks.dispose();
this.plugin_manager.dispose();
this.selectionManager.dispose();
+ this.dragDropManager.dispose();
this._disposeClipboard();
}
}