mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
refactor(editor): use spec builder to unify the extend of editor extensions (#9916)
This commit is contained in:
@@ -163,7 +163,7 @@ export class DndService extends Service {
|
||||
|
||||
const std = new BlockStdScope({
|
||||
store: doc,
|
||||
extensions: createPageModeSpecs(this.framework),
|
||||
extensions: createPageModeSpecs(this.framework).value,
|
||||
});
|
||||
const dndAPI = std.get(DndApiExtensionIdentifier);
|
||||
return dndAPI;
|
||||
|
||||
Reference in New Issue
Block a user