Skip to content

BlockSuite API Documentation / @blocksuite/inline / nativePointToTextPoint

Function: nativePointToTextPoint()

nativePointToTextPoint(node, offset): TextPoint | null

Parameters

node: unknown

offset: number

Returns

TextPoint | null

Defined in

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