So I have a changeable valuable that reacts when the user changes a text. Then I want to highlight a part of the text but when I try
<textarea readonly = 'true' contenteditable="true" value={<span>{testUserText}</span> + {userText}}></textarea>
the text changes to "[object Object][object Object]". I am trying to use span for the text I want to be a different color. I cannot get it out of the value option and just put it between the textarea's tags, because then the text doesn't change when the variable does. Any solutions?