I want to be able to click on a word in the value of a textarea and then add a small cross image under the word that lies in the line spacing. And then whenever the user types in more i would like for the cross to stick under the word
Asked
Active
Viewed 82 times
0
-
share your code – Leo Aug 29 '18 at 07:32
-
What have you tried so far? Can you show us the code you are working on? – Torjescu Sergiu Aug 29 '18 at 07:32
-
Welcome to SO, Please add your code into snippet, So someone has quickly fixed your issue. – jaydeep patel Aug 29 '18 at 07:35
-
Please share the code which you have tried. – Libin C Jacob Aug 29 '18 at 07:35
-
This would be a huge work to do, since a textarea contains plain text only. It would be easier to achieve this by using a content editable div or pre element instead of a textarea. – Teemu Aug 29 '18 at 07:36
-
Possibly a duplicate of https://stackoverflow.com/questions/3793090/html-is-there-any-way-to-show-images-in-a-textarea – Vinit Desai Aug 29 '18 at 07:37
-
2Possible duplicate of [HTML : Is there any way to show images in a textarea?](https://stackoverflow.com/questions/3793090/html-is-there-any-way-to-show-images-in-a-textarea) – Vinit Desai Aug 29 '18 at 07:37
-
Sounds like a WYSIWYG editor should work? – Sir Catzilla Aug 29 '18 at 10:57