Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Browser: Internet Explorer 7.x
Language Found: English
Description
Steps to reproduce:
try to run the code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
[Bindable]
private var text: String = '<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><B><I>first</I></B></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0"><I>second</I></FONT></P></TEXTFORMAT>';
]]
>
</mx:Script>
<mx:RichTextEditor id="richTextEditor" htmlText="
"/>
</mx:Application>
Actual Results:
1. Click word "first". Buttons "B" and "I" are pressed. Double click word "first". Word "first" is selected, but buttons "B" and "I" are not pressed. This is bug.
2. Press Ctrl+A. Text becomes selected. But buttons "B" and "I" are not pressed. This is bug.
The bug reason is the richTextEditor.textArea.text contains "\r" symbol, because of two lines in text.
Workaround (if any): not found