Hi,
Best way to start the ckeditor maximised?
I tried this I found on this forums:
Is this the official and best way to do this?
Are there other ways to do this as I cannot seem to find them. I need an alternative if possible.
Many Thanks,
Best way to start the ckeditor maximised?
I tried this I found on this forums:
CKEDITOR.on('instanceReady',
function( evt )
{
var editor = evt.editor;
editor.execCommand('maximize');
});
Is this the official and best way to do this?
Are there other ways to do this as I cannot seem to find them. I need an alternative if possible.
Many Thanks,

Re: start maximised
Re: start maximised
Re: start maximised
ie 6
narrowed problem down to this bit of code:
M=r.element.getDocument().getById(K._.id);
Re: start maximised
Also, it's a lot easier to debug if you use ckeditor_source.js instead...
Re: start maximised
var K=this.uiItems[0],L=this.state==2?s.maximize:s.minimize,M=r.element.getDocument().getById(K._.id);M.getChild(1).setHtml(L);M.setAttribute('title',L);M.setAttribute('href','javascript:void("'+L+'");');replaced with:
var K=this.uiItems[0],L=this.state==2?s.maximize:s.minimize;if(K!=null){var M=r.element.getDocument().getById(K._.id);M.getChild(1).setHtml(L);M.setAttribute('title',L);M.setAttribute('href','javascript:void("'+L+'");');}Yes FF2 reports problem with K in console with the maximise code utilised.
Need to cover bases, and support IE 6, locally and externally.
Is there an uncompacted version of ckeditor.js somewhere in the distribution then? took a few mins but I managed to convert the file to have 8000 lines, so I could see where the error actually was occuring.
Re: start maximised
Re: start maximised
from firefox:
var buttonNode = editor.element.getDocument().getById( button._.id ); buttonNode.getChild( 1 ).setHtml( label ); buttonNode.setAttribute( 'title', label ); buttonNode.setAttribute( 'href', 'javascript:void("' + label + '");' );The button was omitted to be shown on the toolbar, if the button is added this entire issue does not occur.
I'll add a bug report about this.
Many Thanks.
Re: start maximised
http://dev.ckeditor.com/ticket/6166