mui-rte
mui-rte copied to clipboard
Trigger autocomplete items dropdown when writing triggerChar
Checklist
- [X] This is not covered in the repository examples.
- [X] I am using the package latest version.
- [X] This is a bug report or an enhancement proposal.
Description
I want to show a dropdown with possible users when writing triggerChar "@" in the editor. However, the dropdown with possible items only shows after inserting triggerChar "@" and minimum 2 chars of matching item keys afterwards, e.g. "@na".
Please consider showing item suggestions right when triggerChar is written in the editor, or making it an option to do so. I believe this is the expected autocomplete behaviour.
Thank you so much
I opened a PR with a fix for this here https://github.com/niuware/mui-rte/pull/295