remove gridsome

This commit is contained in:
Philipp Kühn
2021-09-16 14:41:25 +02:00
parent e012a29240
commit 2f15a11572
311 changed files with 157 additions and 10308 deletions

View File

@@ -0,0 +1,20 @@
# forEach
Loop through an array of items.
## Parameters
`items: any[]`
An array of items.
`fn: (item: any, props: CommandProps & { index: number }) => boolean`
A function to do anything with your item.
## Usage
```js
const items = ['foo', 'bar', 'baz']
editor.commands.forEach(items, (item, { commands }) => {
return commands.insertContent(item)
})
```