1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-26 08:34:28 +02:00

Fix summary link anchors because they don't work in GitBook

This commit is contained in:
Sunny Hirai
2021-03-29 00:12:47 -07:00
parent 738e0d4332
commit 67c5a50fa9
2 changed files with 5 additions and 4 deletions

View File

@@ -28,10 +28,6 @@
## API
- [Transforms](./api/transforms.md)
- [Node Transforms](./api/transforms.md#node-transforms)
- [Selection Transforms](./api/transforms.md#selection-transforms)
- [Text Transforms](./api/transforms.md#text-transforms)
- [Editor Transforms](./api/transforms.md#general-transforms)
- [Node](./api/nodes.md)
- [Editor](./api/editor.md)
- [Element](./api/element.md)

View File

@@ -15,6 +15,11 @@ 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.