Skip to content

CursorPosition

type CursorPosition = {
offset: number;
path: BlockPath;
};

Defined in: selection.ts:6

PropertyTypeDescriptionDefined in
offsetnumberCharacter offset inside the block’s text.selection.ts:10
pathBlockPathPath to the block.selection.ts:8