From 8ba06cdfd07c3af4bf72680e64928af9802d7935 Mon Sep 17 00:00:00 2001 From: Sunny Hirai Date: Sat, 5 Jun 2021 22:02:44 -0700 Subject: [PATCH] docs: Fix duplicate Editor.nodes in documentation --- docs/api/nodes/editor.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/api/nodes/editor.md b/docs/api/nodes/editor.md index bf59460c2..3f452dcb6 100644 --- a/docs/api/nodes/editor.md +++ b/docs/api/nodes/editor.md @@ -112,13 +112,11 @@ Options: `{at?: Location, match?: NodeMatch, mode?: 'all' | 'highest' | 'lowest' #### `Editor.node(editor: Editor, at: Location, options?) => NodeEntry` -#### `Editor.nodes(editor: Editor, options?) => Generator, void, undefined>` - Get the node at a location. Options: `depth?: number, edge?: 'start' | 'end'` -#### `Editor.nodes(editor: Editor, options?) => Generator, void, undefined>` +#### `Editor.nodes(editor: Editor, options?) => Generator, void, undefined>` Iterate through all of the nodes in the Editor.