SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I found this blog -- customizing rich text editor, but what I don't understand is the part where the author writes

Set the PrefixStyleSheet-Property of the RichHtmlField. The classname has to be lowercase!

<PublishingWebControls:RichHtmlField id="Content" FieldName="PublishingPageContent" runat="server" PrefixStyleSheet="my-style-must-be-lowercase"/>

Where would I insert the above code? In the masterpage? Pagelayout?

share|improve this question
up vote 1 down vote accepted

It seems that RichHtmlField uses it's own css classes, it has it's own default, and you can change it to your own by adding a prefix to css class name, thus if original class name were for example - RTE-Normal-1, with prefix it will be YourPrefix-Normal-1. You can check class names in page source.

To add this property for RichHtmlField you need to edit Page Layout, where you want to brand RichHtmlField.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.