Skip to content

BlockSuite API Documentation / @blocksuite/blocks / getInlineEditorByModel

Function: getInlineEditorByModel()

getInlineEditorByModel(editorHost, model): AffineInlineEditor | null

Parameters

editorHost: EditorHost

model: string | BlockModel<object, SignaledProps<object>>

Returns

AffineInlineEditor | null

Defined in

packages/affine/components/dist/rich-text/dom.d.ts:10