Skip to main content
Known Participant
August 7, 2009
Answered

RichEditableText skip two lines by pressing Enter

  • August 7, 2009
  • 1 reply
  • 963 views

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 has been closed for replies.
Correct answer GordonSmith

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

1 reply

Known Participant
August 11, 2009
Hello
Please, I would like to know if this is a bug, thanks.
GordonSmithCorrect answer
Participating Frequently
August 11, 2009

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

Known Participant
August 11, 2009

Tanks, Gordon Smith,

I will wait anxiously