> For the complete documentation index, see [llms.txt](https://docs.slatejs.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.slatejs.org/libraries/slate-history.md). Agents can also search and read this documentation through its [MCP server](https://docs.slatejs.org/~gitbook/mcp).

# Slate History

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

* [withHistory](https://docs.slatejs.org/libraries/slate-history/with-history.md)
* [HistoryEditor](https://docs.slatejs.org/libraries/slate-history/history-editor.md)
* [History](https://docs.slatejs.org/libraries/slate-history/history.md)
