Slate
main
Examples
GitHub
Slack
Search
⌃
K
Links
Introduction
Walkthroughs
Installing Slate
Adding Event Handlers
Defining Custom Elements
Applying Custom Formatting
Executing Commands
Saving to a Database
Enabling Collaborative Editing
Using the Bundled Source
Concepts
Interfaces
Nodes
Locations
Transforms
Operations
Commands
Editor
Plugins
Rendering
Serializing
Normalizing
TypeScript
Migrating
API
Transforms
Node Types
Editor
Element
Node
NodeEntry
Text
Location Types
Operation Types
Scrubber
Libraries
Slate React
Slate History
Slate Hyperscript
General
Resources
Contributing
Changelog
FAQ
Powered By
GitBook
Comment on page
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
Node
NodeEntry
Editor
Element
Text
API - Previous
Transforms
Next
Editor
Last modified
2yr ago