quill-mention
quill-mention copied to clipboard
Refresh mentions in real time without reloading quill modules
Is there a way to fetch mentions dynamically? My use case is a new message form, where you can add users to a recipients list. As I add or remove users, the mentions list should update with that list of users.
I've tried the following:
- If I re-set quill modules when I add a new user to the 'to' list, then quill breaks and the highlighting etc stop working.
- If I don't re-set the modules, then the user list is cached to whatever it was on first initialization of the quill editor :|
Going to hunt through the source code in the meantime to see if there's a way to do this.