refactor(editor): add middlewares in shared adapter (#9395)

This commit is contained in:
Saul-Mirone
2024-12-27 12:32:43 +00:00
parent 76d9712f21
commit cbfe38b189
20 changed files with 85 additions and 80 deletions
@@ -1,8 +1,5 @@
import { Peekable } from '@blocksuite/affine-components/peek';
import {
REFERENCE_NODE,
RefNodeSlotsProvider,
} from '@blocksuite/affine-components/rich-text';
import { RefNodeSlotsProvider } from '@blocksuite/affine-components/rich-text';
import {
type AliasInfo,
type DocMode,
@@ -10,6 +7,7 @@ import {
NoteDisplayMode,
type ReferenceInfo,
} from '@blocksuite/affine-model';
import { REFERENCE_NODE } from '@blocksuite/affine-shared/consts';
import {
DocDisplayMetaProvider,
DocModeProvider,