Skip to content

BlockSuite API Documentation / @blocksuite/affine-rich-text / getInlineEditorByModel

Function: getInlineEditorByModel()

getInlineEditorByModel(editorHost, model): null | AffineInlineEditor

Defined in: packages/affine/rich-text/src/dom.ts:37

Parameters

editorHost

EditorHost

model

string | BlockModel<object>

Returns

null | AffineInlineEditor