mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 06:01:24 +02:00
Move node transform jump to section documentation into correct page
This commit is contained in:
@@ -15,11 +15,6 @@ type Ancestor = Editor | Element
|
||||
|
||||
## Static methods
|
||||
|
||||
- [Node Transforms](#node-transforms)
|
||||
- [Selection Transforms](#selection-transforms)
|
||||
- [Text Transforms](#text-transforms)
|
||||
- [Editor Transforms](#general-transforms)
|
||||
|
||||
###### `Node.ancestor(root: Node, path: Path): Ancestor`
|
||||
|
||||
Get the node at a specific `path`, asserting that it is an ancestor node. If the specified node is not an ancestor node, throw an error.
|
||||
|
@@ -2,6 +2,13 @@
|
||||
|
||||
Transforms are helper functions operating on the document. They can be used in defining your own commands.
|
||||
|
||||
Jump to section:
|
||||
|
||||
- [Node Transforms](#node-transforms)
|
||||
- [Selection Transforms](#selection-transforms)
|
||||
- [Text Transforms](#text-transforms)
|
||||
- [Editor Transforms](#general-transforms)
|
||||
|
||||
## Node transforms
|
||||
|
||||
Transforms that operate on nodes.
|
||||
|
Reference in New Issue
Block a user