fix(editor): missing dependencies (#9436)

This commit is contained in:
Saul-Mirone committed 2024-12-30 14:10:37 +00:00
1 parent c28f918527
commit a9f890017e
22 files changed
+42 -64

No files matched your search

@@ -37,7 +37,6 @@ export function getInlineEditorByModel(
typeof model === 'string'
? editorHost.std.doc.getBlock(model)?.model
: model;
// @ts-expect-error TODO: migrate database model to `@blocksuite/affine-model`
if (!blockModel || matchFlavours(blockModel, ['affine:database'])) {
// Not support database model since it's may be have multiple inline editor instances.
// Support to enter the editing state through the Enter key in the database.