Prev: *PITIFUL* FAQ Entry - How can I access the client-side filesystem? (2010-03-15)
Next: FAQ Topic - I have <a href="javascript:somefunction()"> what... ? (2010-03-16)
From: galactic on 15 Mar 2010 14:20 Hello, Does anyone know how to tell the cipboard to accept RTF into the clipboard? I think I have all the steps but one.. has anyone done this: 1. copied text into a separate area. 2. reformatted text into rtf format. 2. copied.holdtext.createTextRange(); 3 . copied.execCommand("copy"); (only for ie) but when I paste it still comes out as pure text.. not RTF... what am I missing. any help would be appreciated. -Galactic
From: Evertjan. on 15 Mar 2010 20:01
galactic wrote on 15 mrt 2010 in comp.lang.javascript: > Hello, > > Does anyone know how to tell the cipboard to accept RTF into the > clipboard? I think I have all the steps but one.. has anyone done > this: > > 1. copied text into a separate area. > 2. reformatted text into rtf format. > 2. copied.holdtext.createTextRange(); A textrange is for text, meseems. > 3 . copied.execCommand("copy"); (only for ie) > > but when I paste it still comes out as pure text.. not RTF... what am > I missing. > > any help would be appreciated. > > -Galactic > -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress) |