BlockSuite API Documentation / @blocksuite/blocks / insertContent
Function: insertContent()
insertContent(
editorHost
,model
,text
,attributes
?):void
Parameters
editorHost
model
BlockModel
<object
, SignaledProps
<object
>>
text
string
attributes?
AffineTextAttributes
Returns
void
Defined in
packages/affine/components/dist/rich-text/format/utils.d.ts:8