Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+11 votes
840 views
in Plugins by
Is it possible to have user mention as we can do in Facebook? Something like @Gideon. I'm using user mention plugin which works fine except that the user must know the username he wants to tag. It would be better to have a dialog popup suggesting the users to tag as the name is being typed. Any idea how this can be done?
Q2A version: 1.7

3 Answers

0 votes
by
This will be great!
0 votes
by
Hello

Is there any plugin for this? It had token 3 years maybe some I code it :)
0 votes
by
edited by

In the latest edition of CKEditor 4, there is a plugin called mention and an ajax plugin to work together with this mention plugin. I am working around it. There must be a solution. See this page https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_mentions.html

This is the plugin page https://ckeditor.com/cke4/addon/mentions

See this one too https://ckeditor.com/cke4/addon/ajax

Autocomplete is also needed https://ckeditor.com/cke4/addon/autocomplete

If somebody came into a solution please let me know okay smiley

by
How can I make this code working for Q2A
config.mentions = [ { feed: '/users?query={encodedQuery}' } ];

Using this one is working
config.mentions = [ { feed: ['Anna', 'Thomas', 'John'] } ];
I want the above method to work
See this link https://ckeditor.com/docs/ckeditor4/latest/guide/dev_mentions.html#setting-up-a-synchronous-data-feed
...