﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12398	Maximize-Button doesn't work in instances without a title	Tobias Hößl		"When CKEditor is initialized like this...
{{{
CKEDITOR.replace(element, { title: '' });
}}}
...the Maximize-Button does produces an javascript-error and fails:
{{{
Uncaught TypeError: Cannot read property 'setCustomData' of null ckeditor.js:830
Uncaught TypeError: Cannot read property 'setSize' of null ckeditor.js:321
}}}

This can be seen here: https://www.hoessl.eu/ckeditor/samples/divreplace.html
This is from the standard package, with only one modification: the "", {title: ''}"" was added.

The reason seams to be that no .cke_voice_label-element is created for the instance when the title is empty, but the maximize-plugin thinks the .cke_inner-element is always the second child of its parent, probably in line 128 of plugins/maximize/plugin.js:
{{{
var container = editor.container.getChild( 1 );
}}}
"	Bug	new	Normal		General	4.4.4		Maximize	
