diff --git a/docs/libraries/slate-history.md b/docs/libraries/slate-history.md index e2d6793fe..682543c3a 100644 --- a/docs/libraries/slate-history.md +++ b/docs/libraries/slate-history.md @@ -12,10 +12,10 @@ When used with `withReact`, `withHistory` should be applied inside. For example: const [editor] = useState(() => withReact(withHistory(createEditor()))) ``` -## `HistoryEditor` +## [`HistoryEditor`](../history/history-editor.md) `HistoryEditor` is the Editor with history related methods and the `History` object property. It also contains static helpers for history-enabled editors. -## `History` +## [`History`](../history/history.md) `History` objects accessed at `editor.history` on a `HistoryEditor` holds all of the operations that are applied to a value, so they can be undone or redone as necessary.