mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-15 10:52:34 +02:00
Small correction to docs concepts/06-editor.md (#4047)
This commit is contained in:
parent
21943ff96a
commit
b4641d1486
@ -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)) {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user