Using real sizes (px) in the rich text editor (RTE) of sitecore

The default drop down for the font size in the RTE, have a list of relative numbers, which will be translated into px, in the html.

Default font size drop down

It´s possible to change this drop down by another with pixels:

Switch to the core database Navigate to /sitecore/system/Settings/Html Editor Profiles There is one folder per profile, the default is “Rich Text full” In this case, Open the tool bar 3, and select “Font Size” Update the field “clic”, change the “FontSize” default value, by “RealFontSize” That´s it. Now you´ll know the real font size you´re applying to your text.

Real font size drop down

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.