1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00

docs: Add single quotes around option value that is a string

This commit is contained in:
Sunny Hirai
2021-04-06 22:03:03 -07:00
parent 18fb41cc2a
commit f7b6f438ef

View File

@@ -120,9 +120,9 @@ Options: `{at?: Location | Span, match?: NodeMatch, mode?: 'all' | 'highest' | '
`options.mode`:
- `all` (default): all matching nodes
- `highest`: in a hierarchy of nodes, only return the highest level matching nodes
- `lowest`: in a hierarchy of nodes, only return the lowest level matching nodes
- `'all'` (default): all matching nodes
- `'highest'`: in a hierarchy of nodes, only return the highest level matching nodes
- `'lowest'`: in a hierarchy of nodes, only return the lowest level matching nodes
#### `Editor.parent(editor: Editor, at: Location, options?): NodeEntry<Ancestor>`