I would like to know how I can put HTML code in a textarea, since I have a textarea that receives data from the DB dynamically by date filters. ex:
<textarea maxlength="8000" rows="15" style="resize:none; width:100%">{{ctrl.VariavelDB}}</textarea>
I use AngularJS, the value of the variable would look like this:
ctrl.VariavelDB = "Lorem bla bla bla <b> negrito </b> bla bla bla <br> <h1> TESTE BAL BLA BLA </h1>"
As soon as it is inserted it shows the code, what do I do, can anyone help me?
Thank you in advance.