Contents
In Design Manager, in the left navigation pane, choose Edit Page Layouts. Choose the page layout on which the RichHtmlField page field will reside. In the upper-right corner of the server-side preview, choose Snippet Gallery. On the ribbon, choose Page Fields, and then choose a page field of the type RichHtmlField.
Click Pages. Click the dropdown menu next to the .aspx page in question. Select Version History. Preview older versions to see if the issue was recently introduced. If possible, identify a last-known working version, and suggest the customer restore that version. Alternatively, we can try to manually try to fix the page layout:
How to apply styles to multiple page fields in SharePoint?
So, if multiple page layouts reference the same style sheet, it’s possible for multiple RichHtmlFields on those page layouts to have the same style prefix and reference the same styles. Browse to your publishing site. In the upper-right corner of the page, choose Settings, and then choose Design Manager.
Where do styles and style references go in SharePoint?
For example, the following page field of the type TextField (also called Multiple Lines of Text) might have only an ID attribute on the tag. For more information about where styles and style references for a page layout should go, see How to: Create a page layout in SharePoint.
How to create custom styles for richhtmlfield?
Create a custom style sheet By default, the styles available on the ribbon of a RichHtmlField come from a style sheet named HtmlEditorStyles.css. You can configure the PrefixStyleSheet property for this snippet so that your own custom styles appear on the ribbon for content authors to use.
In the Snippet Gallery, you can configure the properties of a page field of the type RichHtmlField, so that specific commands or groups of commands on the ribbon are made unavailable to authors. For example, by setting the AllowFontSizesMenu property to False, you can disable the Font Size menu on the ribbon.
How to modify the HTML editor field control?
This topic describes how to modify some features and attributes of the HTML Editor field control. If the content type of a page layout supports the Page Content column, you can add a Rich HTML field control to your page layout by using markup such as the following.
How to add field control to a page?
If the content type of a page layout supports the Page Content column, you can add a Rich HTML field control to your page layout by using markup such as the following. In the example above, RichHTMLField is the name of the field control that provides the richer HTML editing experience.