mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 13:41:52 +00:00
@@ -21,6 +21,7 @@ import {
|
||||
StoreExtensionProvider,
|
||||
} from '@blocksuite/affine/ext-loader';
|
||||
import { MigratingStoreExtension } from '@blocksuite/affine/extensions/store';
|
||||
import { FootnoteStoreExtension } from '@blocksuite/affine/inlines/footnote/store';
|
||||
|
||||
import { AIChatBlockSchemaExtension } from '../ai/blocks/ai-chat-block/model';
|
||||
|
||||
@@ -34,6 +35,7 @@ class MigratingAffineStoreExtension extends StoreExtensionProvider {
|
||||
}
|
||||
|
||||
const manager = new StoreExtensionManager([
|
||||
// Block
|
||||
AttachmentStoreExtension,
|
||||
BookmarkStoreExtension,
|
||||
CalloutStoreExtension,
|
||||
@@ -51,6 +53,8 @@ const manager = new StoreExtensionManager([
|
||||
ParagraphStoreExtension,
|
||||
SurfaceRefStoreExtension,
|
||||
TableStoreExtension,
|
||||
// Inline
|
||||
FootnoteStoreExtension,
|
||||
|
||||
MigratingStoreExtension,
|
||||
MigratingAffineStoreExtension,
|
||||
|
||||
@@ -23,6 +23,7 @@ import {
|
||||
ViewExtensionProvider,
|
||||
} from '@blocksuite/affine/ext-loader';
|
||||
import { MigratingViewExtension } from '@blocksuite/affine/extensions/view';
|
||||
import { FootnoteViewExtension } from '@blocksuite/affine/inlines/footnote/view';
|
||||
import { ToolbarModuleExtension } from '@blocksuite/affine/shared/services';
|
||||
import { BlockFlavourIdentifier } from '@blocksuite/affine/std';
|
||||
import { FrameworkProvider } from '@toeverything/infra';
|
||||
@@ -147,6 +148,7 @@ class MigratingAffineViewExtension extends ViewExtensionProvider<
|
||||
const manager = new ViewExtensionManager([
|
||||
MigratingViewExtension,
|
||||
|
||||
// Block
|
||||
AttachmentViewExtension,
|
||||
BookmarkViewExtension,
|
||||
CalloutViewExtension,
|
||||
@@ -164,6 +166,8 @@ const manager = new ViewExtensionManager([
|
||||
ParagraphViewExtension,
|
||||
SurfaceRefViewExtension,
|
||||
TableViewExtension,
|
||||
// Inline
|
||||
FootnoteViewExtension,
|
||||
|
||||
MigratingAffineViewExtension,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user