fix(editor): missing dependencies (#9436)

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

View File

@@ -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.