Hashtag highlighter in the rich text component

I’m trying to have the highlights entered in the rich text editor highlighted. I’ve found a npm package but I am stuck on how to actually implement it:

Anyone having any thoughts on how I could approach this?

Ty!

To integrate a library that uses vue you should create a component with custom code, however this specific library works with vue v2 and I think it’s not compatible with weweb that uses vue v3.
Anyway the rich text editor has mentions, have you checked if this feature is what you are looking for?

Thanks a lot @dorilama - unfortunately I see that the mentions feature does not allow the insertion of new items to be mentioned and works with predefined lists only.