2

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?

  • 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
1

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?

  • 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
1

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

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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