Skip to content

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

Function: asyncGetRichText()

asyncGetRichText(editorHost, id): Promise<null | RichText>

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

Parameters

editorHost

EditorHost

id

string

Returns

Promise<null | RichText>