BlockSuite API Documentation / @blocksuite/inline / textPointToDomPoint
Function: textPointToDomPoint()
textPointToDomPoint(
text
,offset
,rootElement
):DomPoint
|null
Parameters
• text: Text
• offset: number
• rootElement: HTMLElement
Returns
DomPoint
| null
Source
packages/framework/inline/src/utils/point-conversion.ts:53