Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.