diff --git a/docs/api/nodes.md b/docs/api/nodes.md index 1a05b355e..d14c57895 100644 --- a/docs/api/nodes.md +++ b/docs/api/nodes.md @@ -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. diff --git a/docs/api/transforms.md b/docs/api/transforms.md index 34308a050..16d359b86 100644 --- a/docs/api/transforms.md +++ b/docs/api/transforms.md @@ -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.