1
0
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:
Sunny Hirai 2021-04-06 22:02:14 -07:00
parent 5635f9011d
commit 18fb41cc2a

View File

@ -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