Node Types APIs

PreviousNext

Node union API for editors, elements, and text nodes.

The Node union type represents all of the different types of nodes that occur in a Slate document tree.

Types

type Node = Editor | Element | Text;
 
type Descendant = Element | Text;
type Ancestor = Editor | Element;
type Node = Editor | Element | Text;
 
type Descendant = Element | Text;
type Ancestor = Editor | Element;

Node Pages