#5956 closed Bug (fixed)
Can not create an editor inside an hidden container
Reported by: | Charlie | Owned by: | Sa'ar Zac Elias |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.4.1 |
Component: | General | Version: | 3.0 |
Keywords: | Firefox | Cc: |
Description
I'm using jquery along with several jquery plugins including Thickbox. When I try to load the ckeditor in a thickbox window it loads just fine, but it throws an error in the Firefox (3.6.3) error console and any text typed into the ckeditor doesn't get translated to the hidden textarea and, thus, does not get submitted when the form in the thickbox window is submitted.
Here's the jquery which gets called after the thickbox window loads should get all textareas with class='ckeditor_ajax' and replace them with the ckeditor:
$('textarea.ckeditor_ajax').each(function() {
var name = $(this).attr('name');
CKEDITOR.replace(name);
});
And here is the error which appears in the Firefox error console:
Error: h is null
Source File: /ckeditor/ckeditor.js
Line: 13
I also noticed a forum post about it which might include some more info: http://cksource.com/forums/viewtopic.php?f=11&t=19332&p=49286
Attachments (2)
Change History (9)
Changed 14 years ago by
Attachment: | 5956.patch added |
---|
comment:1 Changed 14 years ago by
Keywords: | Confirmed FireFox Review? added |
---|---|
Milestone: | CKEditor 3.x → CKEditor 3.4 |
Owner: | set to Sa'ar Zac Elias |
Status: | new → assigned |
Summary: | Get "h is null on ckeditor.js Line: 13" error when loading ckeditor via ajax → Can not create an editor inside an hidden container |
Version: | 3.3.1 → 3.0 |
Changed 14 years ago by
Attachment: | 5956_2.patch added |
---|
comment:3 Changed 14 years ago by
Milestone: | CKEditor 3.4 → CKEditor 3.5 |
---|
comment:4 Changed 14 years ago by
Keywords: | Firefox added; Confirmed FireFox removed |
---|
comment:5 Changed 14 years ago by
Status: | review → review_passed |
---|
comment:6 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [5835].
comment:7 Changed 14 years ago by
TC for this ticket and #7844: http://dev.ckeditor.com/attachment/ticket/7844/7844_5956.html
I'm pretty sure there's another ticker for this issue but I can't find it right now.