Skip to main content

CaretType

type

A sibling caret type points from a LexicalNode origin to its next or previous sibling, and a child caret type points from an ElementNode origin to its first or last child.

type CaretType = 'sibling' | 'child'

Import

import { CaretType } from '@modular/sdk/editor';