﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6737	Format Combo doesn't respect config.format_xx definitions	Seb Duggan	Frederico Caldeira Knabben	"The format combo box doesn't display its options in the correct style as attributed in the config.format_xx options.

For example, if I set the following config option:

{{{
CKEDITOR.config.format_h1 = { element : 'h2'};
}}}

...then when I choose ""Heading 1"" from the combo, the selected text is formatted as an <h2> element. However, the format combo box still shows ""Heading 1"" with the <h1> CSS applied to it.

The fix for this is simple. In /_source/plugins/format/plugin.js, line 48 should be changed from:

{{{
this.add( tag, '<' + tag + '>' + label + '</' + tag + '>', label );
}}}

to:

{{{
this.add( tag, '<' + styles[tag].element + '>' + label + '</' + styles[tag].element + '>', label );
}}}

(You may like to do this differently according to house coding conventions).
"	New Feature	closed	Normal	CKEditor 3.6	UI : Toolbar	3.4.2	fixed		
