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

September 19, 2013 at 10:34 PMVicent Galiana

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:

  1. Switch to the core database
  2. Navigate to /sitecore/system/Settings/Html Editor Profiles
  3. There is one folder per profile, the default is "Rich Text full"
  4. In this case, Open the tool bar 3, and select "Font Size"
  5. 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

Posted in: SiteCore

Tags: , , , ,