mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-17 21:49:20 +01:00
docs: Change format of options to be more intuitive
This commit is contained in:
parent
5635f9011d
commit
18fb41cc2a
@ -118,7 +118,7 @@ Iterate through all of the nodes in the Editor.
|
||||
|
||||
Options: `{at?: Location | Span, match?: NodeMatch, mode?: 'all' | 'highest' | 'lowest', universal?: boolean, reverse?: boolean, voids?: boolean}`
|
||||
|
||||
`mode` option:
|
||||
`options.mode`:
|
||||
|
||||
- `all` (default): all matching nodes
|
||||
- `highest`: in a hierarchy of nodes, only return the highest level matching nodes
|
||||
|
Loading…
x
Reference in New Issue
Block a user