refactor(editor): reorg block specs (#9421)

This commit is contained in:
Saul-Mirone
2024-12-30 05:59:25 +00:00
parent 87331b49b7
commit e3b6841944
16 changed files with 121 additions and 173 deletions

View File

@@ -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)),