How do you paste and *not* retain text formatting? :)

Sannyasin Sivakatirswami katir at hindu.org
Sat Nov 29 02:31:49 EST 2003


copy from the browser then try:


btn "pasteText"

on mouseup
   put the clipBoardData["text"]  after the selectedtext
end mouseup

All styling should be removed. It is on the Mac.



On Nov 28, 2003, at 5:28 PM, valetia at mac.com wrote:

> Hi,
>
> On Windows when you paste styled text (for instance copied from the 
> browser)
> into a field in a stack, it retains the styled text. How do you make 
> sure
> that only the text is pasted, and at the correct cursor position?
>
> Thanks,
> Valetia
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list