mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 15:02:51 +02:00
skip nonselectable nodes when move (#5885)
* skip nonselectable nodes when move * fix * docs * remove ignoreNonSelectable * docs * revert
This commit is contained in:
@@ -141,7 +141,7 @@ Options: `depth?: number, edge?: 'start' | 'end'`
|
||||
|
||||
At any given `Location` or `Span` in the editor provided by `at` (default is the current selection), the method returns a Generator of `NodeEntry` objects that represent the nodes that include `at`. At the top of the hierarchy is the `Editor` object itself.
|
||||
|
||||
Options: `{at?: Location | Span, match?: NodeMatch, mode?: 'all' | 'highest' | 'lowest', universal?: boolean, reverse?: boolean, voids?: boolean, pass?: (node: NodeEntry => boolean), ignoreNonSelectable?: boolean}`
|
||||
Options: `{at?: Location | Span, match?: NodeMatch, mode?: 'all' | 'highest' | 'lowest', universal?: boolean, reverse?: boolean, voids?: boolean, pass?: (node: NodeEntry => boolean)}`
|
||||
|
||||
`options.match`: Provide a value to the `match?` option to limit the `NodeEntry` objects that are returned.
|
||||
|
||||
|
Reference in New Issue
Block a user