BlockSuite API Documentation / @blocksuite/blocks / asyncGetRichText
Function: asyncGetRichText()
asyncGetRichText(
editorHost,id):Promise<RichText|null>
Parameters
editorHost
id
string
Returns
Promise<RichText | null>
Defined in
packages/affine/components/dist/rich-text/dom.d.ts:9