We've been running ckeditor 3.6.4 in a jquery (1.7.2) dialog for the last year. We recently had to update to jquery version 1.9.1 and jquery ui version 1.10.1. In the process we also upgraded to ckeditor 4.0.2. We're still using frame editing so we wouldn't have to change the existing code.
We're now seeing the following issue with the ckeditor dropdowns:
- In FireFox, if you click a dropdown, then click it again to close it, the dropdown remains but the option values are gone. Subsequently, the same dropdown or any other dropdown also open with no options displayed.
- In Chrome the behavior is virtually the same, just triggers differently - click the dropdown to open, click it to close, then click it again and it exhibits the same behavior.
Using FireBug we get the following error: "TypeError: a.contentWindow is null", referencing line 324 in ckeditor.js. (standard version).
We also downloaded the source code (4.02 full version), created our own build, and got a different error:
"TypeError: $.contentWindow is null - return selected.$;"
I'm attaching a file that recreates the issue. It requires ckeditor 4.0.2 standard to be in the same directory to run. The file should also be renamed to 'index.html'.
Please let me know what we're doing wrong, or if this is a legitimate bug. We have a major launch this month and would like to get this resolved as quickly as possible.
Thanks in advance to anyone who helps.
|
|

I have the same problem
I'm using ckeditor in a jquery ui dialog box. jquery 1.9.0, jqueryui 1.10.1.
I've set up inline editors on the two div columns. The Syles drop-down shows values at first, but they disappear the second time the dialog is opened?
Possible Solution
I'm using jQueryUI 1.9.2 instead of 1.10.2 and do not have the same issue with the disappearing values in the CKEDITORY combo boxes. My other ui features are unchanged my this switch. I'll check from time to time if the updated versions of CKEditor or jQueryUI result in a fix.
I also had problem with the CKEDITOR combo boxes being frozen on the second load of the editor. I solved this by first checking and closing the previous CKEDITOR instance exist before recreating it.
if (CKEDITOR.instances.editor1 != null) CKEDITOR.instances.editor1.destroy();
CKEDITOR.disableAutoInline = true;
CKEDITOR.inline('editor1');
$("#editor1").attr("contenteditable", "true");
Having the same problem
I have the same problem, and it happens with jQueryUI 1.10.2 also. The Styles, Font, and Size buttons all disappear after the first load if they are in a jQueryUI dialog box.
jQuery Dialog disabling buttons persists in 4.1
Just to confirm... this bug was not fixed with the CKEditor 4.1 release. It still does not show Font, Styles, Size, and Format more than the first time you open one of those selectors when the CKEditor instance is initialized within a jQueryUI 1.10.x dialog.
Guys, have you ever submitted
Guys, have you ever submitted this issue as a bug to our tracker? If not, there is no chance it will be fixed because we are only able to follow issues reported on the Development site and not in blog comments, forum posts etc.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
I have submitted this to the
I have submitted this to the bug tracker. Ticket #10269.
Thanks, jhhawk. This is the
Thanks, jhhawk. This is the only way to track and solve editor issues really, it's impossible to track bugs on the forum.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!