TinyMCE:Configuration/theme advanced font sizes

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: theme_advanced_font_sizes

This option should contain a semicolon separated list of font sizes to include. A more powerful version of this option was introduced in the 3.2 release of TinyMCE. Check the second example below.

Example of usage of the theme_advanced_font_sizes option:

tinyMCE.init({
	...
	theme_advanced_font_sizes : "1,2,3,6,7"
});

Advanced example of usage of the theme_advanced_font_sizes option:

tinyMCE.init({
	...
	theme_advanced_font_sizes : "Big text=30px,Small text=small,My Text Size=.mytextsize"
});
Personal tools