﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9295	Font Size and Bold/Italic/Underline create multiple spans	Donald Hanson		"Using the following configuration:

{{{
config.coreStyles_bold = { element: 'span', styles: { 'font-weight' : 'bold' } };
config.coreStyles_italic = { element: 'span', styles: { 'font-style' : 'italic' } };
config.coreStyles_underline = { element: 'span', styles: { 'text-decoration' : 'underline' } };
}}}

Start with this content:

{{{
<p>Test Line</p>
}}}

Highlight the text and mark it bold produces this expected content:

{{{
<p><span style=""font-weight:bold;"">Test Line</span></p>
}}}

Highlight the text and change the font size produces this unexpected content:

{{{
<p><span style=""font-size:48pt;""><span style=""font-weight: bold;"">Test Line</span></span></p>
}}}

Expected content:

{{{
<p><span style=""font-size: 48pt; font-weight: bold;"">Test Line</span></p>
}}}

This is an issue for us because the resulting content from the editor is displayed in a page with the following css file:

{{{
*
{
    font-family: Arial, Helvetica, Verdana;
    font-size:8pt;
}
}}}

This causes the inner bold span tag to always force the font size to 8pt.

Leaving the config coreStyles set to the default also produces a similar issue because the bold span is simply replaced with a strong tag.

{{{
<p><span style=""font-size:48pt;""><strong>Test Line</strong></span></p>
}}}
"	Bug	confirmed	Normal		Core : Styles	3.0		IBM	monahant@…
