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:
committed by
Ian Storm Taylor
parent
7845c9534f
commit
f62c9b0405
@@ -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 })) {
|
||||||
|
Reference in New Issue
Block a user