mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 09:04:31 +02:00
Small doc fix for isNodeInRange (#2580)
This commit is contained in:
committed by
Ian Storm Taylor
parent
6302b2d9d2
commit
8e659dbd28
@@ -367,7 +367,7 @@ Check whether a node exists in the tree by `path` or `key`.
|
||||
|
||||
### `isNodeInRange`
|
||||
|
||||
`isNodeInRange(path: List|Array) => Boolean`
|
||||
`isNodeInRange(key: String) => Boolean`
|
||||
`isNodeInRange(path: List|Array, range: Range) => Boolean`
|
||||
`isNodeInRange(key: String, range: Range) => Boolean`
|
||||
|
||||
Check whether a node is inside a `range`. This will return true for all [`Text`](./text.md) nodes inside the range and all ancestors of those [`Text`](./text.md) nodes up to this node.
|
||||
|
Reference in New Issue
Block a user