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

Asked

Viewed 73 times

1

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

Ex.: "I will add this new text".

When the text is selected I change it to stay between keys.

Ex.: "I will {{add}} this new text". SO FAR I HAVE MANAGED

But I need to change everywhere I’m between {{}} put into BOLD AND YELLOW for example.

That’s why I mentioned using regex or indicating some plugin that does this while I’m typing inside the input.

  • If possible, post your HTML and script that you have so far so that I can help better. Thank you.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.