简体   繁体   中英

Flex 4 RichEditableText with right click menu

I need selectable text that can be copied.
Some users are used to copy with Ctrl+C (Cmd+C on Mac), and some are used to right click and select "Copy".

Using s:RichEditableText, there is no "Copy" in right click menu: http://d.pr/xWXW
Using mx:Text, there is "Copy" in right click menu, but it doesn't copy anything: http://d.pr/vtiw

Ctrl+C works for both s:RichEditableText and mx:Text.

Is there a property or something to enable "Copy" in right click menu for s:RichEditableText?

If either selectable or editable propery is set to "true" you are able to copy text from RichEditableText. But they are "true" by default... So, I checked right-click context menu and "Copy" is in there (Flash Builder 4.5 Prem., Flash Player 10.3, Win7, Firefox). First, I would try to clear and rebuild the project, and if it doesn't help try "right-clicking" on spark RichEditableText with default setting and plain-text content.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM