I've been wrestling with this problem for days and have googled to no end. I just can't find a solution to something that should be simple.
I have just one CKEditor in my page. In my javascript logic, I have a button that issues a setData to the CKEditor.
In another event handler, I read that same control with a getData only to have it die in any version of Internet Explorer, even IE9. In all other browsers, things work fine. I must get this to work in IE.
I've determined the problem is perhaps a race condition between the asynchonous setData and when I issue the getData. The setData just doesn't have enough time to finish.
How can I determine when the data is stable in the Editor after I execute a setData? I've tried the call back parameter, but to no avail. Basically I'd like to put the code in a loop waiting for the editor's stability before I issue the getData method call.
Thanks for your time.
Tony
Mon, 06/04/2012 - 22:18
#1