Hello,
I have again a strange behaviour with the mention control.
stackblitz project:
https://stackblitz.com/edit/js-ysuiaf?file=index.js
After inserting some 'dummy' text in the RTE and when trying to use the mentioncontrol somewhere in the middle of the 'dumy' text and when an URL is used in the 'displayTemplate' property, the inserted template is each time inserted at the top of the RTE instead of at the cursor position.
displayTemplate:
'<a target="_blank" rel='nofollow' rel='nofollow' href="https://my.site.com/Login.aspx?src=communication&taakid=${EmailId}">${Name}</a>',
This happens with every 'mentionChar' I try to use.
When I remove the 'rel='nofollow' rel='nofollow' href' attribute, then it works.
How can I use the mention control with a rel='nofollow' rel='nofollow' href in the displayTemplate?
Thx
Frederik