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'd like to modify the RichHtmlField to disable the color controls in SharePoint 2010. I tried adding this to my master page:

<PublishingWebControls:RichHtmlField FieldName="PublishingPageContent" allowFontColorMenus="false" runat="server" />

but it doesn't seem to have any affect on the editing pages in SharePoint. Any ideas how to enable/disable controls in the rich HTML editor?

share|improve this question
    
There is an option to disable buttons in Editor Toolbar. If you need technical help, please contact me on Anand.Thurubatla@gmail.com Thanks, Anand –  user630119 Jul 12 '11 at 9:55
add comment

3 Answers

You added a control to the masterpage, which does nothing to other RichHtmlFields, it's just it's own control. Are you using the SP2010 wiki style apges or publishing?

share|improve this answer
    
Ah, I see. So how do I modify the control on the page? I'm using the publishing pages. –  stomcavage Jun 13 '11 at 13:23
add comment

Instead of adding a new control to the masterpage you need to open up your Page Layout and modify the existing RichHtmlField controls.

They are under /_catalogs/masterpage/page_layout_file_name

share|improve this answer
add comment

I did something like this for a customer. You can read a post in this url: http://salvatoredifaziosharepoint.blogspot.it/2012/03/how-to-modify-ribbon-of-richtextbox.html

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.