From f890d3aca7756fc813512717646cd69c15e47f39 Mon Sep 17 00:00:00 2001 From: Sunny Hirai Date: Mon, 29 Mar 2021 00:14:33 -0700 Subject: [PATCH] Move node transform jump to section documentation into correct page --- docs/api/nodes.md | 5 ----- docs/api/transforms.md | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) 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.