I'm having an issue using the Maximize button with ckeditor. I'm using 3.5.2 with ckfinder 2.0.2. Everything seems to work ok except for maximizing.
I see these js errors when first loading the page:
Warning: reference to undefined property v._.elements.$ Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 28 Warning: reference to undefined property v._.elements['^'] Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 28 Warning: reference to undefined property v._.elements[q.name] Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 28
then with maximize button I get just the toolbar on the screen without the content.
Warning: reference to undefined property k[i] Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 11 Warning: reference to undefined property this.$['data-cke-expando'] Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 11 Warning: reference to undefined property this.$['data-cke-expando'] Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 11 Warning: reference to undefined property k.$.attachEvent Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 11 Warning: reference to undefined property this._.state Source File: http://mine.com/ckeditor/ckeditor.js?t=B1GG4Z6 Line: 44
I'm using PHP to start ckeditor like so:
$ckeditor_config = array('customConfig' => '/ckeditor/custom-ckeditor-config.js'); $ckeditor_config['toolbar'] = 'Reports'; $O_summary_CKEditor = new CKEditor('/ckeditor/'); CKFinder::SetupCKEditor($O_summary_CKEditor, '/ckfinder/'); $O_summary_CKEditor->editor('summary', html_entity_decode(stripslashes($summary),ENT_QUOTES),$ckeditor_config);
Any ideas?
Re: Maximize is horked
Re: Maximize is horked
In Firefox 3.6.13 on Win7, there is a somewhat similar behavior:
While the "normal" editor (3.5.2) itself works fine, the maximized editor is not displayed maximized but rather, well, squished (see attached screenshot). The error console in Firefox does not display any messages.
Greets
niere
Attachments:
Re: Maximize is horked
Yep, same symptom with me. Also noticed that it works fine in IE or Chrome. I found this bug and it solved the issue for Firefox. If you set a proper DOCTYPE for the web page that ckeditor is on, maximize works fine. Be aware, though, that enforcing a proper DOCTYPE may hose up some of the formatting for your site so test it first and make the needed fixes.
Re: Maximize is horked
You're right, the doctype solved this.
Thanks a lot!!
niere