Skip to content

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


Generated using TypeDoc and typedoc-plugin-markdown.