mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-01 03:11:44 +02:00
doc: add missing APIs in the doc (#5835)
* doc: add missing APIs in the doc * refactor: apply lint
This commit is contained in:
@@ -115,6 +115,10 @@ Check is a value implements the `Path` interface.
|
||||
|
||||
Check if a path is a sibling of another.
|
||||
|
||||
#### `Path.operationCanTransformPath(operation: Operation) => operation is InsertNodeOperation | RemoveNodeOperation | MergeNodeOperation | SplitNodeOperation | MoveNodeOperation`
|
||||
|
||||
Returns whether this operation can affect paths or not.
|
||||
|
||||
### Transform method
|
||||
|
||||
#### `Path.transform(path: Path, operation: Operation, options?) => Path | null`
|
||||
|
Reference in New Issue
Block a user