0 Replies Latest reply on Mar 8, 2011 7:50 AM by eprevot123

    How to display default format in RichTextEditor ?

    eprevot123 Level 2

      I'm playing with mx RichTextEditor, I want to display some html text with the corresponding text format. And when I click a button, I want to display the same text, without its format, but just the defaultTextFormat.

      I can't do that.

      When I create a RichTextEditor, I can set the text property and display a text with default format.

      But when I have already displayed a rich html text, if I set the htmlText property to null, and set text to a new simple text, it keeps the previous format.

      How can I force the format to be the default one ?