3
I would like to know what exactly I must study in order to transform a textarea in a text editor WYSIWYG.Of course I know I must use Javascript,but I can’t imagine how styles are applied in real time to content within the textarea. I already searched the internet and people only gave link editors ready. I do not want the link of a ready. I would like to know the way more or less to be able to apply the style in the chosen part of the content within the textarea. I came to see people talking to use iframe, but they didn’t explain what exactly I would do with the iframe to achieve this.
Perfect!! Exactly the kind of answer I needed. Thank you very much!!
– Hiago Machado
+1 for the attribute
contenteditable
. I learned one today - what impressed me the most is that it is apparently supported a long time ago...– Jônatas Hudler