1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-11 07:30:41 +02:00
Files
slate/docs/api/nodes
Ziad Beyens 01f0210bcc Consistent insert* methods (#5415)
* feat: add reviewpad.yml file

* Update reviewpad.yml

*  options to `Editor.insert*`

* 📝 options to `Editor.insert*`

*  getDefaultInsertLocation

*  getDefaultInsertLocation

*  getDefaultInsertLocation

* 📝 consistent selection

* Create tasty-lizards-remain.md

* Update tasty-lizards-remain.md

---------

Co-authored-by: reviewpad[bot] <104832597+reviewpad[bot]@users.noreply.github.com>
Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
2023-05-06 15:41:42 -07:00
..
2023-05-06 15:41:42 -07:00

Node Types APIs

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