BlockSuite API Documentation / @blocksuite/virgo / textPointToDomPoint
Function: textPointToDomPoint() ​
textPointToDomPoint(
text,offset,rootElement):DomPoint|null
Parameters ​
• text: Text
• offset: number
• rootElement: HTMLElement
Returns ​
DomPoint | null
Source ​
packages/virgo/src/utils/point-conversion.ts:48
Generated using typedoc-plugin-markdown and TypeDoc