Hi,
I have integrated CKE into a test environment, and I am getting the following error, but ONLY in IE8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; FDM; .NET4.0C)
Timestamp: Mon, 31 Jan 2011 12:10:09 UTC
Message: '0' is null or not an object
Line: 63
Char: 2060
Code: 0
URI: http://127.0.0.1/static/ck/ckeditor.js
This works fine in FF, Chrome, Safari, but consistently gives the error in IE - any ideas? I have tried this now with a number of different computers, and they all produce the same results.
Regards
Dave
Mon, 01/31/2011 - 13:17
#1
Re: Javascript error in IE
Make sure you didn't make any mistake in the configuration file for CKEditor and disable any extra plugins you have enabled.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Javascript error in IE
This is a problem in Ckeditor 3.5
I don't think I made any mistakes in the configuration file. I am using Jquery 1.4.4 and Jquery UI 1.8.9 - if I disable them, I wont be able to run the app. I don't believe that these are contributing factors to the problem
I think that this is either a bug in my implementation of the .setData or a bug in CKeditor in IE8
IE8 executes JS in different threads and doesn't guarantee sequence of execution - so it may be possible that the request to destroy the object is being executed before the .setData in some cases - this would explain the CKeditor problem I believe. Or not.
It works fine in FF and Chrome
I do not know enough about the CKeditor API in order to guarantee a synchronous call that would clear the contents of the editor text area before destroying the editor -
I have done several hours of testing and the problem also seems to be somewhat intermittent which may support my "IE 8 threads are guilty" theory
Thanks
Danny
Re: Javascript error in IE
If possible, attach a very simplified HTML example using jquery loaded from CDN that can be used to reproduce this eror and we'll see whether it is something that should be fixed on our side.
(Try also CKEditor 3.5.1)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Javascript error in IE
I just saw this - I had filed the bug away for various reasons. Will follow your instructions. FWIW - I'm using ckeditor 3.5 - I'll upgrade to 3.6 and try reproduce the problem
Thanks
Danny
Re: Javascript error in IE
Thanks Danny, if possible please report it directly @ http://dev.ckeditor.com/ and remember to add also a link to this topic.
(see also bug reporting instructions)
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+