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 ?