How to color part of a text inside the input using REGEX or if you have a VUEJS plugin

1

My problem is the following I have an input with the text.

Eg: "I'll add this new text".

When the text is selected I change it to be enclosed in braces.

Eg: "I will add this new text". UNTIL HERE I GOT

But I need to change everywhere you go between {{}} and put it in BOLD and YELLOW

So I quoted using regex or pointing me to some plugin that does this while I'm typing inside the input.

    
asked by anonymous 05.06.2018 / 14:07

0 answers