Skip to content

BlockSuite API Documentation / @blocksuite/inline / textPointToDomPoint

Function: textPointToDomPoint()

textPointToDomPoint(text, offset, rootElement): null | DomPoint

Defined in: packages/framework/inline/src/utils/point-conversion.ts:56

Parameters

text

Text

offset

number

rootElement

HTMLElement

Returns

null | DomPoint