docs.archbee.com/github-example

⌘
K
🌐
User & Dev Guide
💼
Careers
💻
Demo
GitHub Example
Table of contents
Introduction to Slate!
Walkthroughs
Installing Slate
Adding Event Handlers
Defining Custom Elements
Applying Custom Formatting
Executing Commands
Saving to a Database
Using the Bundled Source
Concepts
Interfaces
Nodes
Locations
Transforms
Operations
Commands
Editor
Plugins
Rendering
Serializing
Normalizing
TypeScript
Migrating
API
Transforms
Node Types
Location Types
Operation Test 1
Libraries
Slate React
Slate History
Slate Hyperscript
General
Resources
Contributing
Changelog
FAQ
Docs powered by Archbee
Libraries

Slate History

2min

This sub-library tracks changes to the Slate value state over time, and enables undo and redo functionality.

History

History objects hold all of the operations that are applied to a value, so they can be undone or redone as necessary.

HistoryEditor

HistoryEditor contains helpers for history-enabled editors.

withHistory

The withHistory plugin keeps track of the operation history of a Slate editor as operations are applied to it, using undo and redo stacks.

Updated 10 Nov 2023
Did this page help you?
PREVIOUS
Slate React
NEXT
Slate Hyperscript
Docs powered by Archbee
TABLE OF CONTENTS
History
HistoryEditor
withHistory
Docs powered by Archbee