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/inline/src/utils/point-conversion.ts:53
Generated using typedoc-plugin-markdown and TypeDoc