... As expected, at least not the way I expect it to.
FCKeditor 2.64
Placed the below in my customconfig lib:
FCKConfig.CustomStyles =
{
'Underline' :
{
Element : 'span',
Styles : { 'text-decoration' : 'underline' },
Overrides : { Element : 'u' }
}
};
I've made sure that my custom config is in effect.
What happens is:
1. I create some text
2. Click on the U-button
3. Text is underlined and the Style-dropdown changes to "Underline"
But <u></u> is still used, even after I save the document.
What I expect to see is: <span style="text-decoration: underline;"></span> instead.
If I select "Underline" from the Style-dropdown it works as expected.
Thanks!
/J
FCKeditor 2.64
Placed the below in my customconfig lib:
FCKConfig.CustomStyles =
{
'Underline' :
{
Element : 'span',
Styles : { 'text-decoration' : 'underline' },
Overrides : { Element : 'u' }
}
};
I've made sure that my custom config is in effect.
What happens is:
1. I create some text
2. Click on the U-button
3. Text is underlined and the Style-dropdown changes to "Underline"
But <u></u> is still used, even after I save the document.
What I expect to see is: <span style="text-decoration: underline;"></span> instead.
If I select "Underline" from the Style-dropdown it works as expected.
Thanks!
/J