This issue is easy to reproduce.
With IE8, on a windows machine. (note, you need to have javascript error reporting turned on)
Go to the demo page for CKEditor (http://ckeditor.com/demo).
In a separate browser window, go to http://www.imdb.com/
On IMDB, select all (CTRL-A) and copy (CTRL-C).
Go back to the Editor and paste (CTRL-V) the content.
Notice the numerous javascript errors that suddenly pop up. (if errors are turned off, you will still see the exclamation triangle in the lower left corner of the browser window).
Any ideas how one could prevent those errors from happening?
Is there a way to strip <script> tags from content being posted before it gets executed?
Any help would be appreciated.
Thanks
Pascal
Thu, 08/04/2011 - 17:48
#1
Re: Javascript Error in IE8 when pasting content
Would You mind attaching log from Your console?