mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-12 10:14:02 +02:00
Add links in SlateHistory main docs
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user