﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5329	maximize will error if button is not displayed	Eddie Wyatt		"Request for improvement.  I would like an option to maximize the ckeditor control by default.

You can simulate that by using

CKEDITOR.on('instanceReady', function(ev) {
     var editor = ev.editor;
     editor.execCommand('maximize');

});

However you'll get a javascript error if the maximize button is not part of the current tool bar.  This can fixed if the following change is  made to the maximize plugin.


				        if (button) {
				            var buttonNode =
editor.element.getDocument().getById(button._.id);
				            buttonNode.getChild(1).setHtml(label);
				            buttonNode.setAttribute('title', label);
				            buttonNode.setAttribute('href', 'javascript:void(""' + label + '"");');
				        }
"	Bug	closed	Normal		General	3.2	duplicate	HasPatch	
