mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 09:52:49 +08:00
refactor(editor): reorg block specs (#9421)
This commit is contained in:
@@ -13,7 +13,6 @@ import {
|
||||
OverrideThemeExtension,
|
||||
type PageRootService,
|
||||
ParseDocUrlExtension,
|
||||
RefNodeSlotsExtension,
|
||||
RefNodeSlotsProvider,
|
||||
SpecProvider,
|
||||
toolbarDefaultConfig,
|
||||
@@ -73,9 +72,7 @@ export async function mountDefaultDocEditor(collection: DocCollection) {
|
||||
}
|
||||
}
|
||||
|
||||
const refNodeSlotsExtension = RefNodeSlotsExtension();
|
||||
const extensions: ExtensionType[] = [
|
||||
refNodeSlotsExtension,
|
||||
PatchPageServiceWatcher,
|
||||
FontConfigExtension(CommunityCanvasTextFonts),
|
||||
ParseDocUrlExtension(mockParseDocUrlService(collection)),
|
||||
|
||||
Reference in New Issue
Block a user