1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-09 16:56:36 +02:00

Small correction to docs concepts/06-editor.md (#4047)

This commit is contained in:
Silviu Bogan
2021-03-31 21:46:00 +03:00
committed by GitHub
parent 21943ff96a
commit b4641d1486

View File

@@ -109,7 +109,7 @@ for (const [node, path] of Editor.nodes(editor, { at: range })) {
} }
// Iterate over every point in every text node in the current selection. // Iterate over every point in every text node in the current selection.
for (const [point] of Editor.positions(editor)) { for (const point of Editor.positions(editor)) {
// ... // ...
} }
``` ```