[
https://issues.apache.org/jira/browse/FLEX-12123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean resolved FLEX-12123.
----------------------------------
Resolution: Duplicate
> HTMLText from Text behaviour is inconsistent
> --------------------------------------------
>
> Key: FLEX-12123
> URL: https://issues.apache.org/jira/browse/FLEX-12123
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: Rich Text Editor
> Affects Versions: Adobe Flex SDK Previous
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
>
> Steps to reproduce:
> 1. Use the following MXML
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
> <mx:Script>
> <![CDATA[
> private function execute():void {
> editor.htmlText = editor.text;
> }
> ]]
> >
> </mx:Script>
>
> <mx:RichTextEditor id="editor" />
> <mx:Button label="Execute" click="execute();" />
> </mx:Application>
> 2. Enter some multi-line and formatted text. (e.g. first line: "asdf", second
> line: "zxcv" bolded)
> 3. Click the execute button. (editor's content loses formatting as expected)
> 4. Click the execute button again
>
> Actual Results:
> Editor's content loses carriage returns.
>
> Expected Results:
> Editor's content retains carriage returns.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira