Search code examples
sitecoresitecore6sitecore7

Add font size in sitecore richtext editor


I successfully change the font size selection of rich text editor of Sitecore by following the instruction.

What I need to do now is to add a font size 60px in the selection. How and where can I change that?

enter image description here


Solution

  • To add font size in richtext control of sitecore, I modify the toolsFile.xml

    <root>
        <tools name="MainToolbar" enabled="true">
            <tool name="RealFontSize" />
        </tools>
        <realFontSizes> 
            <item value="8px"></item>
            <item value="9px"></item>
            <item value="10px"></item>
            <item value="11px"></item>
            <item value="12px"></item>
            <item value="13px"></item>
            <item value="14px"></item>
            <item value="16px"></item>
            <item value="18px"></item>
            <item value="20px"></item>
            <item value="22px"></item>
            <item value="24px"></item>
            <item value="26px"></item>
            <item value="28px"></item>       
            <item value="32px"></item>
            <item value="48px"></item>
            <item value="60px"></item>
            <item value="72px"></item>
            </realFontSizes>
    </root>