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.
web.config file 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.xml file 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 property of 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.