Skip to main content
Known Participant
Aug 7, 2009 6:34 PM UTC
Answered

RichEditableText skip two lines by pressing Enter

Hello,

var source:String = '<flow:TextFlow lineBreak="toFit" xmlns:flow="http://ns.adobe.com/textLayout/2008"><flow:p><flow:span>Testttttt</flow:span></flow:p></flow:TextFlow>';
textFlow = TextFilter.importToFlow(new XML(source), TextFilter.TEXT_LAYOUT_FORMAT);


<s:RichEditableText id="rt" content="{textFlow}"/> dont works

or

<s:RichEditableText id="rt" content="little test"/> dont works

if the property content is set the problem occurs if the property text is set the problem does not occur

<s:RichEditableText id="rt" text="little test"/> works

Thanks,
This topic is closed to new replies. Start a new post to keep the conversation going.
GordonSmithCorrect answer
Participating Frequently
Aug 11, 2009 5:53 PM UTC

This is a known bug, but it should be fixed in the trunk. If you find otherwise, please file a bug at http://bugs.adobe.com/flex.

Gordon Smith

Adobe Flex SDK Team

4 replies

Known Participant
Aug 11, 2009 3:01 PM UTC
Hello
Please, I would like to know if this is a bug, thanks.
Translate
GordonSmithCorrect answer
Participating Frequently
Aug 11, 2009 5:53 PM UTC

This is a known bug, but it should be fixed in the trunk. If you find otherwise, please file a bug at http://bugs.adobe.com/flex.

Gordon Smith

Adobe Flex SDK Team

Translate
Known Participant
Aug 11, 2009 6:18 PM UTC

Tanks, Gordon Smith,

I will wait anxiously
Translate