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

Is there a way that I can restrict the text formatting(font etc)/layout on the Sharepoint blog/Wiki sites? Or doesSharepoint have any options to control the HTML that is being generated when users enter content(like copy paste from word)???

Thank you very much for reading, any input is appreciated.

share|improve this question
add comment

1 Answer

Enterprise Wiki:

  • enable the Publishing Feature for the Site Collection
  • Create a page layout based on the Enterprise Wiki Page
  • In SPD, edit the properties of the tag PublishingWebControls:RichHtmlField (turn on the Properties panel)
  • There's a whole raft of properties that you can toggle from TRUE to FALSE to allow/disallow Fonts, styles, links, etc.
  • Save and publish the page layout.
  • Activate that page layout to the Enterprise Wiki site (via Site Settings > Page Layout and Site Template Settings) and remove the out-of-the-box Enterprise Wiki Page from the permitted page layouts

Depending on which properties were changed in the page layout, certain elements of the Formatting ribbon will be grayed out.

There's a great walk-through at Waldek Mastykarz's blog: http://blog.mastykarz.nl/consistent-content-authoring-sharepoint-2010-rich-text-editor/

Microsoft has an overview of what each property does here: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.webcontrols.richhtmlfield_properties.aspx

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.