mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-29 18:09:49 +02:00
Fix broken link to setKeyGenerator (#1214)
This commit is contained in:
committed by
Ian Storm Taylor
parent
9587bc4a50
commit
678589a809
@@ -13,7 +13,7 @@ A short-lived, unique identifier for the node.
|
||||
|
||||
By default, keys are **not** meant to be long-lived unique identifiers for nodes that you might store in a database, or elsewhere. They are meant purely to identify a node inside of a single Slate instance. For that reason, they are simply auto-incrementing strings. (eg. `'0'`, `'1'`, `'2'`, ...)
|
||||
|
||||
If you want to make your keys uniqueness long-lived, you'll need to supply your own key generating function via the [`setKeyGenerator`](../utils/utils.md#setkeygenerator) util.
|
||||
If you want to make your keys uniqueness long-lived, you'll need to supply your own key generating function via the [`setKeyGenerator`](./utils.md#setkeygenerator) util.
|
||||
|
||||
### `nodes`
|
||||
`Immutable.List`
|
||||
|
Reference in New Issue
Block a user