1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-22 06:53:25 +02:00

Update Changelog.md (#2749)

This commit is contained in:
Jarred Sumner
2019-05-09 09:32:46 -07:00
committed by Ian Storm Taylor
parent 7845c9534f
commit f62c9b0405

View File

@@ -35,7 +35,7 @@ element.ancestors(path, options)
element.siblings(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 ```js
for (const next of document.texts({ path: start.path })) { for (const next of document.texts({ path: start.path })) {