Can we modify the rich text editor in Sitecore Pages, or at least add a new Paragraph style under this dropdown?
As far as I know, in Experience Editor or Content Editor, we can customize this by setting the source field of the rich text field.
Sitecore Stack Exchange is a question and answer site for developers and end users of the Sitecore CMS and multichannel marketing software. It only takes a minute to sign up.Sign up to join this community
web.configfile check the value of setting
WebStylesheet. By default, it is
/default.css. Open that file (default.css file located at the root folder of the website) and add your CSS classes here like the following:
ToolsFile.xmlfile located at
rootfolder\sitecore\shell\Controls\Rich Text Editor\folder and add CSS class entries in the
<classes>node like following
name property is a text displayed in a dropdown of Apply Css Classes in RichText Editor and the
value property must be the same as your class name defined in the
source propertyof it is set to either
Rich Text Full or Rich Text Medium
It’s done. Check your item’s rich text editor field to see the list of CSS classes in the dropdown. If the classes are not there,
clear your Sitecore Cache (/sitecore/admin/cache.aspx) and browser cache. If it still does not appear, restart your IIS website.