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

Defined in

packages/framework/inline/src/utils/point-conversion.ts:57