mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 02:19:52 +02:00
update docs on Node.ancestors/levels and Path.ancestors (#4987)
This commit is contained in:
@@ -19,7 +19,7 @@ type Path = number[]
|
||||
|
||||
Get a list of ancestor paths for a given path.
|
||||
|
||||
The paths are sorted from deepest to shallowest ancestor. However, if the `reverse: true` option is passed, they are reversed.
|
||||
The paths are sorted from shallowest to deepest ancestor. However, if the `reverse: true` option is passed, they are reversed.
|
||||
|
||||
#### `Path.common(path: Path, another: Path) => Path`
|
||||
|
||||
|
Reference in New Issue
Block a user