Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Steps to reproduce:
1. Create an application containing a RichTextEditor.
2. Using (compile-time) CSS, set the font Family of the RichTextEditor to an embedded font.
3. Set the htmlText in the RichTextEditor to some complex formatted text.
4. Set any style via the StyleManager.
Actual Results:
The text in the RichTextEditor all gets reformatted in one format (whatever is specified in the CSS). This is because the StyleManager refreshes all styles in all components when the style is set, and the font styles used for the RichTextEditor UI cascade down into the inner UITextField, removing all formatting.
Expected Results:
Ideally, any UITextField that contains complex formatting should ignore CSS style changes and retain their formatting.