Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey authored and janthurau committed Nov 17, 2023
1 parent ad47c49 commit 76b8a29
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api/utilities/suggestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ A render function for the autocomplete popup.

Default: `() => ({})`

### findSuggestionMatch
Optional param to replace the built-in regex matching of editor content that triggers a suggestion.
See [the
source](https://github.com/estrattonbailey/tiptap/blob/develop/packages/suggestion/src/findSuggestionMatch.ts#L18)
for more detail.

Default: `findSuggestionMatch(config: Trigger): SuggestionMatch`


## Source code
[packages/suggestion/](https://github.com/ueberdosis/tiptap/blob/main/packages/suggestion/)
Expand Down

0 comments on commit 76b8a29

Please sign in to comment.