﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9964	Font Size and Font Name drop-downs do not always reflect font styling	Teresa Monahan		"Currently the font and fontsize combos on the toolbar only reflect styles set through the style definition specified by the fontSize_style and font_style config settings. This means that if font is specified in any other way, the toolbar does not show this.

To Reproduce:
- Copy the following into Source view:

{{{
<h1 style=""font-family:arial,helvetica,sans-serif;font-size:14px;"">Sample heading text with Arial font, size 14 applied directly on the H1 tag.</h1>

<p><span style=""font-family:arial,helvetica,sans-serif;""><span style=""font-size: 14px;"">Sample text with Arial font, size 14 applied through the style definitions specified by config.fontSize_style and config.font_style.</span></span></p>

}}}

- Switch back to wysiwyg view and click into the second line of text. Note that the font and fontSize combo boxes correctly display the font styling.
- Click into the first line of text. 

'''Problem:''' The font and fontSize combo boxes do not reflect the font styling set on the H1 tag.

Setting font and fontSize styling for the paragraph formats is easily achievable in the editor using config.format_<formatName>. For example:
{{{
config.format_h1 = { element : 'h1', styles : { 'font-family':'arial,helvetica,sans-serif', 'text-align' : 'center', 'font-size' : '20px;' } };
}}}
However the toolbar does not reflect these font styles. Other styles such as text-align and color are correctly represented on the toolbar.

The font and fontsize combo boxes should display the font regardless of how it is applied. Perhaps using the computed font values would be the solution for this. This approach would also address the issue raised in ticket #4887.
"	New Feature	confirmed	Low		General	4.0 Beta		IBM	Damian Satya Minnekanti fabrizio lynne_kues@… saniln@… mike@… chris@…
