1

I would like to restrict Rich text editor features which placed on Ribbon Toolbar while an user is editing an page. For example, only Arial and Times New Roman fonts and font size 10, 11 and 12 will be displayed.

5

Follow this guide from Waldek, it is for 2010 but should work just as well from 2013: http://blog.mastykarz.nl/consistent-content-authoring-sharepoint-2010-rich-text-editor/

Basically:

<PublishingWebControls:RichHtmlField FieldName="PublishingPageContent" HasInitialFocus="True" 
AllowFonts="false" AllowTextMarkup="false" 
AllowParagraphFormatting="false" PrefixStyleSheet="mv-" MinimumEditHeight="400px" runat="server"/>

use this attributes to lock down properties.

The PrefixStyleSheet enables you to only show your custom styles like

H2.mv-Element-H2
{
  -ms-name:"Heading 2";
   font-size:12px;
}

But please read the article to get a full understanding

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.