Skip to content

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

Function: insertContent()

insertContent(editorHost, model, text, attributes?): void

Defined in: packages/affine/rich-text/src/format/utils.ts:235

Parameters

editorHost

EditorHost

model

BlockModel

text

string

attributes?

AffineTextAttributes

Returns

void