1
0
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:
Sunny Hirai
2021-03-29 00:14:33 -07:00
parent 67c5a50fa9
commit f890d3aca7
2 changed files with 7 additions and 5 deletions

View File

@@ -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.

View File

@@ -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.