feat!: Add editor to items prop in suggestion plugin (#2082)

* add editor to items prop

* docs: update content
This commit is contained in:
Philipp Kühn
2021-10-25 09:42:41 +02:00
committed by GitHub
parent c01afc6791
commit a6f731af39
6 changed files with 13 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ Default: `() => {}'`
### items
Pass an array of filtered suggestions, can be async.
Default: `() => {}`
Default: `({ editor, query }) => []`
### render
A render function for the autocomplete popup.