Defines a range on text using relative positions that can be transformed back to absolute positions. (https://docs.yjs.dev/api/relative-positions)
Convert the position to JSON
Static
Convert a JSON range to a YRange
Range to convert
The range as YRange
Defines a range on text using relative positions that can be transformed back to absolute positions. (https://docs.yjs.dev/api/relative-positions)