We have a very unique need, where we need to add the unit 'px' to the font size output
FCKConfig.CoreStyles.Size =
{
Element : 'font',
Attributes : { 'size' : '#("Size")' }, //<-- WE NEED TO SPECIFY PX HERE!
Styles : { 'font-size' : '#("Size","fontSize")' }
} ;
I have tried everything I could think of and cannot figure out how to do so... I've tried using '#("Size","fontSize") .... adding in #("Size"px)' .... and I'm out of Ideas.
Thanks!
FCKConfig.CoreStyles.Size =
{
Element : 'font',
Attributes : { 'size' : '#("Size")' }, //<-- WE NEED TO SPECIFY PX HERE!
Styles : { 'font-size' : '#("Size","fontSize")' }
} ;
I have tried everything I could think of and cannot figure out how to do so... I've tried using '#("Size","fontSize") .... adding in #("Size"px)' .... and I'm out of Ideas.
Thanks!

Re: FCKEditor not adding unit to font size
Re: FCKEditor not adding unit to font size
W3C definition
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: FCKEditor not adding unit to font size
Re: FCKEditor not adding unit to font size
FCKConfig.FontSizes = '1+/8px; 2+/9px; 3+/10px; 4+/12px; 5+/14px; 6+/20px; 7+/24px';
in your config file where it states the size... I know it looks crazy, but just give it a shot. The only problem is on the Flex Side; my textarea is showing the font incredibly small, but on the reporting side it works perfect.