4 Replies Latest reply on Aug 2, 2007 7:45 AM by JabbyPandaUA

    Textarea: inserting a bulleted list

      I'm struggling with creating a bullet/list button in a custom rich text editor I've built. Obviously I'm missing something in regards to adding bullets to htmlText in a TextArea.

      My original thinking was that I could wrap the selected text with <li> tags (such as tr.htmlText = "<li>" + tr.htmlText + </li>") but the bullets don't appear.

      Can anybody point me in the right direction? I've spent far too much time on what is probably uber-simple.

      (As a side note, I do expect I'll have to write some code that will determine the full length of the sentence (so as not to split a line when adding a bullet), but one thing at a time)