J.S. Can we customize only heighlited part of textarea (kind of like google docs) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

J.S. Can we customize only heighlited part of textarea (kind of like google docs)

I really don't know how difficult this is, but if not so hard, be sure to show me a code: So - on google docs if you wanted to edit a specific text, you highlight that text and you change color, font, bold, italic, etc.... That's exactly what I'm trying to do: I want the text that is selected (highlighted) color to be color.value: Started code: https://code.sololearn.com/WzF7L0ugS255/?ref=app

20th Jun 2019, 7:09 AM
Ginfio
Ginfio - avatar
2 Answers
+ 4
Better use a rich editor plugin https://code.sololearn.com/W0KTfDqlLSdU/?ref=app PS: google search "js rich text editor"
20th Jun 2019, 7:31 AM
Calviղ
Calviղ - avatar
+ 2
wow i didn't know you could do that. you basically made google docs (
20th Jun 2019, 7:35 AM
Ginfio
Ginfio - avatar