mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-09 08:46:35 +02:00
Small correction to docs concepts/06-editor.md (#4047)
This commit is contained in:
@@ -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.
|
||||
for (const [point] of Editor.positions(editor)) {
|
||||
for (const point of Editor.positions(editor)) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user