Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s):
Browser: Firefox 2.x
Language Found: English
Description
Also happens in Adobe AIR 1.1, I'm guessing this is cross OS.
Steps to reproduce:
1. Create an editable, html-enabled TextArea.
2. Create a RichTextEditor which edits the htmlText property of the TextArea component. (either the TextArea htmlText property can be bound to the RichTextEditor, or it can be manually updated on a "change" event)
3. Add three lines with any text (separated by line breaks)
4. Select second line and apply bullet (unordered list) formatting
5. Select first line and apply bullet (unordered list) formatting
6. Give focus to RichTextEditor.
7. Give focus back to target TextArea, select first line and remove bullet formatting.
You can use the zipped Flex Project to get a better view at the problem.
Actual Results: TextArea htmlText property is now corrupt, adding <LI> tag, bulleted formatting to any new lines with line breaks. Removing bulleted formatting has no effect. Even manually modifying htmlText property has no effect.
Expected Results: Bulleted fomatting should be removed with no further consequences.
Workaround (if any): When editing a TextArea using RichTextEditor, a new instance of the TextArea being edited has to be created (and the old TextArea removed) to ensure that the phantom LI tags don't get placed into the target TextArea.