Skip to content

BlockSuite API Documentation / @blocksuite/blocks / asyncGetRichText

Function: asyncGetRichText()

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

Parameters

editorHost: EditorHost

id: string

Returns

Promise<RichText | null>

Defined in

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