can we use the "@" symbol to mention users inside text, so these users get notified.
About 'how to notify them', I got that covered ( medialog.notifications add-on ), but how difficult would it be to do the rest.
I assume I would need to make an indexer that 'looks for every '@name' in the bodytext (or in comments / discussions) . But: how do I get 'suggestions', in other words, when someone starts typing '@usern', '@username' is suggested.
This could be achieved with a custom autocompleter as documented here: Autocompleter | TinyMCE Documentation .. the options list should be a BrowserView returning the valid usernames.
THANK YOU, that works.
I made a restapi endpoint instead. Dont know it it matters, but maybe it will be better 'in the future' (with Volto, maybe?).
I post the code here in case it should be of interest to someone: