feat(editor): merge store and blocks (#9591)

This commit is contained in:
Saul-Mirone
2025-01-08 13:01:19 +00:00
parent a0cba55a5b
commit 5842d45ab1
124 changed files with 362 additions and 414 deletions
@@ -1,9 +1,9 @@
import type { BlockModel, Blocks, Text } from '@blocksuite/store';
import type { BlockModel, Store, Text } from '@blocksuite/store';
export function transformModel(
model: BlockModel,
flavour: BlockSuite.Flavour,
props?: Parameters<Blocks['addBlock']>[1]
props?: Parameters<Store['addBlock']>[1]
) {
const doc = model.doc;
const parent = doc.getParent(model);