Hi, I want to use the mention plugin with a rich text editor. When I am editing my mentions everything works fine. But if I save the content I save a string, so that when I open the editor again to edit I see only text without this pretty mentions (green color) and tooltip plugin.
I have thought of a workaround to save the mention values and not names. For example if $E8383$ resolves to a 5, then I won’t save the 5 but the $E8383$. It is also mandatory to save the mention values and not the resolved name, the resolved name is just a UI thing.
My question here is, when I open in that case the editor I will see only a $E8383$ as a text, how can I resolve this text to make it a mention entity (a green 5 with a value of $E8383$)?