Skip to content

BlockSuite API Documentation / @blocksuite/blocks / asyncSetInlineRange

Function: asyncSetInlineRange()

asyncSetInlineRange(editorHost, model, inlineRange): Promise<void>

Parameters

editorHost: EditorHost

model: BlockModel<object, SignaledProps<object>>

inlineRange: InlineRange

Returns

Promise<void>

Defined in

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