Skip to content

BlockSuite API Documentation / @blocksuite/inline / nativePointToTextPoint

Function: nativePointToTextPoint()

nativePointToTextPoint(node, offset): null | TextPoint

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

Parameters

node

unknown

offset

number

Returns

null | TextPoint