1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-05-06 12:46:08 +02:00

Node Types

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

type Node = Editor | Element | Text

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