1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 05:31:56 +02:00

Merge branch 'master' of github.com:ianstormtaylor/slate

This commit is contained in:
Ian Storm Taylor
2019-05-09 13:42:16 -07:00

View File

@@ -35,7 +35,7 @@ element.ancestors(path, options)
element.siblings(path, options)
```
You can use them just like the native JavaScript iterables. For example, you can through the next text nodes after a specific node:
You can use them just like the native JavaScript iterables. For example, you can loop through the text nodes after a specific node:
```js
for (const next of document.texts({ path: start.path })) {