This is an old post, but I figured I'd add what I found. I was able to get a font size dropdown, with custom font sizes, in our richtext editor by adding the below markup to /Config/tinyMceConfig.config .
Note that the icon image is does not exist by default. You will have to it yourself to the /Umbraco/Images/Editor directory. This will only be shown when editing the you richtext editor datatype.
To enable custom font sizes, add the line below to the <customConfig> element in the tinyMceConfig file:
Then simply enable the Font Size Select option in your richtext editor datatype.
I'm still trying to figure out how to add custom sizes with labels that aren't tied to values. For example, I want editors to only see Small, Medium, and Large rather than 12px, 16px, and 20px. I'll reply here as soon as I figure that out.
Custom fontsize_formats for "fontsizeselect" in tinyMCE
Hi, guys.
I have activated the next tinyMCE feature in my Umbraco project:
How to configure "fontsize_formats" command for this now?
I've tryed this:
and this:
But none of them seem to work.
Any clues on this one?
Here's reference for actual tinyMCE configuration: http://www.tinymce.com/wiki.php/Configuration:fontsize_formats
This is an old post, but I figured I'd add what I found. I was able to get a font size dropdown, with custom font sizes, in our richtext editor by adding the below markup to /Config/tinyMceConfig.config .
Note that the icon image is does not exist by default. You will have to it yourself to the /Umbraco/Images/Editor directory. This will only be shown when editing the you richtext editor datatype.
To enable custom font sizes, add the line below to the
<customConfig>
element in the tinyMceConfig file:Then simply enable the Font Size Select option in your richtext editor datatype.
I'm still trying to figure out how to add custom sizes with labels that aren't tied to values. For example, I want editors to only see Small, Medium, and Large rather than 12px, 16px, and 20px. I'll reply here as soon as I figure that out.
In Umbraco 8 you can add this markup to /Config/tinyMceConfig.config
And this line to
<customConfig>
element, this line defines list of font sizesCheers, Nick
is working on a reply...