mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
chore: bump blocksuite (#8052)
## Features - https://github.com/toeverything/BlockSuite/pull/8115 @EYHN ## Bugfix - https://github.com/toeverything/BlockSuite/pull/8119 @L-Sun - https://github.com/toeverything/BlockSuite/pull/8117 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/8114 @donteatfriedrice ## Misc - https://github.com/toeverything/BlockSuite/pull/8106 @fundon - https://github.com/toeverything/BlockSuite/pull/8116 @doodlewind
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
EdgelessTextBlockSpec,
|
||||
FrameBlockSpec,
|
||||
} from '@blocksuite/blocks';
|
||||
import { EdgelessAIChatBlockSpec } from '@blocksuite/presets';
|
||||
import { AIChatBlockSpec } from '@blocksuite/presets';
|
||||
import type { FrameworkProvider } from '@toeverything/infra';
|
||||
|
||||
import { CommonBlockSpecs } from './common';
|
||||
@@ -22,7 +22,7 @@ export function createEdgelessModeSpecs(
|
||||
FrameBlockSpec,
|
||||
EdgelessTextBlockSpec,
|
||||
EdgelessNoteBlockSpec,
|
||||
EdgelessAIChatBlockSpec,
|
||||
AIChatBlockSpec,
|
||||
// special
|
||||
createEdgelessRootBlockSpec(framework),
|
||||
].flat();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { ExtensionType } from '@blocksuite/block-std';
|
||||
import { SpecProvider } from '@blocksuite/blocks';
|
||||
import { EdgelessAIChatBlockSpec } from '@blocksuite/presets';
|
||||
import { AIChatBlockSpec } from '@blocksuite/presets';
|
||||
|
||||
const CustomSpecs: ExtensionType[] = [EdgelessAIChatBlockSpec].flat();
|
||||
const CustomSpecs: ExtensionType[] = [AIChatBlockSpec].flat();
|
||||
|
||||
function patchPreviewSpec(id: string, specs: ExtensionType[]) {
|
||||
const specProvider = SpecProvider.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user