Forcing 'paste' to paste plain text

Peter Brigham pmbrig at gmail.com
Wed May 6 12:38:01 EDT 2015


Try this:
   put the clipboarddata["text"] into the selection

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig



On Wed, May 6, 2015 at 12:00 PM, Graham Samuel <livfoss at mac.com> wrote:

> I want to make sure that any text pasted by my ‘paste’ menu gets pasted as
> plain (unstyled) text whether or not it is styled to start with. Probably a
> dumb question but I can’t quite see how to do this with ‘the
> clipboardData’. Can anyone suggest how this should be done?
>
> TIA
>
> Graham
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list