BlockSuite API Documentation / @blocksuite/affine-gfx-turbo-renderer / getSentenceRects
Function: getSentenceRects()
getSentenceRects(
element
,sentence
):TextRect
[]
Defined in: affine/gfx/turbo-renderer/src/text-utils.ts:110
Parameters
element
Element
sentence
string
Returns
TextRect
[]