CopytoClipboard works?

Jul 24, 2012 at 10:17 AM
Edited Jul 24, 2012 at 10:17 AM

In the demo Samplecontextmenu

 

http://firstfloorsoftware.com/liveapps/DocumentToolkit2/#/SampleContextMenu

 

The copy is always ni grey and it does not even work with the text selected (see the capture below). How can I do to copy some text to the clipboard?

 

http://i49.tinypic.com/15o6jrc.png

Coordinator
Jul 24, 2012 at 1:18 PM

Good catch, there's a new IsCopyAllowed property on the TextSelection class. It's false by default. I've checked in a source code update where TextSelection.IsCopyAllowed is true and this enables the copy to clipboard command. The sample browser has been updated as well.

- Koen