Inserting a bullet
Without going into much detail as to why, I'm working on a project that required a custom built rich text editor and for the most part, everything is working great. Unfortunately I can't seem to figure out how to insert a bullet (in other words, make selected text into a list item).
My original thinking was that I could do something like this:
tf.htmlText = "<li>" + tf.htmlText + </li>";
This most definitely doesn't work, the textarea seems to ignore the <li> tag completely.
Any help would be greatly appreciated.