Skip to content

Commit

Permalink
refactor(playground): remove mockPeekViewExtension (#8964)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzj3720 committed Dec 12, 2024
1 parent d895707 commit 12b9351
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/playground/apps/starter/utils/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import {
type ExtensionType,
} from '@blocksuite/block-std';
import {
AffineFormatBarWidget,
CommunityCanvasTextFonts,
DocModeProvider,
FontConfigExtension,
GenerateDocUrlExtension,
NotificationExtension,
Expand All @@ -16,10 +18,6 @@ import {
RefNodeSlotsExtension,
RefNodeSlotsProvider,
SpecProvider,
} from '@blocksuite/blocks';
import {
AffineFormatBarWidget,
DocModeProvider,
toolbarDefaultConfig,
} from '@blocksuite/blocks';
import { AffineEditorContainer, CommentPanel } from '@blocksuite/presets';
Expand All @@ -42,7 +40,6 @@ import {
mockGenerateDocUrlService,
mockNotificationService,
mockParseDocUrlService,
mockPeekViewExtension,
themeExtension,
} from '../../_common/mock-services';

Expand Down Expand Up @@ -93,7 +90,7 @@ export async function mountDefaultDocEditor(collection: DocCollection) {
);
},
},
mockPeekViewExtension(attachmentViewerPanel),
// mockPeekViewExtension(attachmentViewerPanel),
];

const pageSpecs = SpecProvider.getInstance().getSpec('page');
Expand Down

0 comments on commit 12b9351

Please sign in to comment.