flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Kessler (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLEX-12121) Setting selections to "" has no effect
Date Fri, 24 May 2013 00:52:20 GMT

     [ https://issues.apache.org/jira/browse/FLEX-12121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Kessler closed FLEX-12121.
-------------------------------

    
> Setting selections to "" has no effect
> --------------------------------------
>
>                 Key: FLEX-12121
>                 URL: https://issues.apache.org/jira/browse/FLEX-12121
>             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
>            Assignee: Mark Kessler
>
>       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 nullSelection():void {
> 				editor.selection.htmlText = "";
> 				trace(editor.htmlText);
> 			}
> 		]]
>       >
> 	</mx:Script>
> 	<mx:RichTextEditor id="editor" />
> 	<mx:Button label="Null Selection" click="nullSelection()" />
> </mx:Application>
> 2. Enter some text and select it.
> 3. Click on the button.
>  
>  Actual Results:
> Text in the UI is removed, but the editor.htmlText doesn't reflect this change. 
>  
>  Expected Results:
>  editor.htmlText == ""
>  
>  Workaround (if any):
>  None found. As in http://bugs.adobe.com/jira/browse/SDK-11723, I tried using the "editor.htmlText
= editor.htmlText;" trick to force an update, but that doesn't have the effect we'd want.
>     

--
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

Mime
View raw message