Skip to content

Commit

Permalink
Update README (niuware#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
niuware authored May 3, 2020
1 parent f7eac76 commit f63c317
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ import { EditorState } from 'draft-js'

## Autocomplete strategies

<img src="https://raw.githubusercontent.com/niuware/niuware.github.io/master/public/assets/mui-rte/ac-demo.gif" width="600" />

You can define autocomplete strategies to present suggested content lists based on the text input. Just set your trigger character, add some search keys and the content to insert and the editor will do everything for you. You can navigate through suggestions using the keyboard arrows and finally press 'Enter' to insert your content into the editor.

### Emoji strategy example
Expand Down

0 comments on commit f63c317

Please sign in to comment.