is there anyway to wrap textarea text with tags ? Javascript/Jquery
B = Bold I = Italic U = Underline S = Strike
For example:
-+-+-+-+-
B I U S
-+-+-+-+-
<textarea>
Some text here
</textarea>
When i highlight "here" and then click on bold its will be smth like this.
-+-+-+-+-
B I U S
-+-+-+-+-
<textarea>
Some text [b]here[/b]
</textarea>
Hope i will find solution and this is it thanks.