FontSizes

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

This option lists the font sizes which appear in the "Size" toobar combo. By default, the following values are available:

FCKConfig.FontSizes = 'smaller;larger;xx-small;x-small;small;medium;large;x-large;xx-large' ;

You may use any valid CSS compatible value for it. The following example set pixel, relative and percent sizes:

FCKConfig.FontSizes = '14px;1.5em;80%' ;

A name can also be set for each size, which is displayed in the combo instead of the raw size value. Just separate the size and the name with a slash. For example:

FCKConfig.FontSizes = '14px/Fourteen Pixels;1.5em/A bit biggger;80%/A bit smaller' ;
This page was last edited on 20 May 2008, at 12:18.