Hi Peter,
The example I linked to is IE only the way IE handles text ranges is fundamentally different than the w3c model that ff opera and the webkit browsers use. That doesn't really add up that this is a security fix because I wouldn't be able to highlight text and pasted it in, it is only when you place your cursor and try and paste in then. Like I said it worked fine in ie6 and 7 so I have submitted it to Microsoft as a bug. We'll see what happens.... Robin From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Peter Dolkens Sent: 25 February 2009 15:56 To: wsg@webstandardsgroup.org Subject: Re: [WSG] inserting text in to IE8 Dunno about your IE problems, but it doesn't work in firefox at all. Inserting text from the clipboard has always been an issue between browsers, and it was proven a while back that IE browsers could be exploited to steal passwords etc that you copy to your clipboard by pasting the clipboard into hidden regions and posting them back to a server. I'm going to go ahead and say that this is Microsofts attempt to keep the poeple that found this exploit happy, or at least squash the bad press a little bit. On Wed, Feb 25, 2009 at 8:05 AM, Robin Gorry <rob...@xplore.net> wrote: Hi all. My problem isn't strictly standards but more JavaScript compatibility between IE versions. In IE6, 7 I can insert text on a range (either on highlighted text or where the cursor is placed) using pasteHTML(). In IE8 I can only pasteHTML() when text is highlighted and not when the cursor is placed. See here for very simple example. http://robing.xtools.co.nz/demo_cms/test_editor/ Any idea's why? Robin. ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************