Skip to content

BlockSuite API Documentation / @blocksuite/inline / nativePointToTextPoint

Function: nativePointToTextPoint()

nativePointToTextPoint(node, offset): TextPoint | null

Parameters

node: unknown

offset: number

Returns

TextPoint | null

Source

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