mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
docs: Add single quotes around option value that is a string
This commit is contained in:
@@ -120,9 +120,9 @@ Options: `{at?: Location | Span, match?: NodeMatch, mode?: 'all' | 'highest' | '
|
|||||||
|
|
||||||
`options.mode`:
|
`options.mode`:
|
||||||
|
|
||||||
- `all` (default): all matching nodes
|
- `'all'` (default): all matching nodes
|
||||||
- `highest`: in a hierarchy of nodes, only return the highest level 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
|
- `'lowest'`: in a hierarchy of nodes, only return the lowest level matching nodes
|
||||||
|
|
||||||
#### `Editor.parent(editor: Editor, at: Location, options?): NodeEntry<Ancestor>`
|
#### `Editor.parent(editor: Editor, at: Location, options?): NodeEntry<Ancestor>`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user