0 Replies Latest reply on Jul 21, 2009 11:50 PM by MehManoj

    RichTextEditor.htmlText returns html without alignment for bullets


      Steps to reproduce:


      1. Use the following MXML
      <mx:RichTextEditor id="rte" width="300" height="200" />
      <mx:TextArea id="ta" htmlText="{rte.htmlText}" width="300" height="100" />
      <mx:Button label="check html" click="mx.controls.Alert.show(rte.htmlText)" />
      2. Enter some text in the RichText Editor.
      3. Click "Center Align Button" or "Right Align Button" in the Rich Text Editor.
      4. Click "Bullet Button" in the Rich Text Editor.
      5. rte(RichTextEditor) and ta(TextArea) looks different because rte.htmlText returns incorrect html.


      Actual Results:


      <P ALIGN="RIGHT"></P> tags are disappeared when retrieving htmlText from Rich Text Editor using Bullet Button.


      Expected Results:


      rte.htmlText should return html with alignment tags.