3

Is it possible to change the default font face and size in the SharePoint 2010 Rich Text Editor Ribbon control? If so how?

Note: I need this to work throughout SharePoint, not just when changing Page Content in a Publishing Page. I need it to work in Content Editor Web Parts, and other list items with Rich Text fields.

1
  • UPDATE: See related question here: sharepoint.stackexchange.com/questions/32720/…. Based on this and some other research I've done, it looks like the "default" styling for any Rich Text Editor is based on the CSS currently being applied to it. I'll try to update with some examples as time allows.
    – Brian
    Feb 21, 2013 at 13:40

2 Answers 2

2

You can do one of two things here:

1) You can override the default fonts. NothingButSharePoint has a good tutorial: https://www.nothingbutsharepoint.com/sites/eusp/Pages/Use-font-face-in-Rich-Text-Editor-of-SharePoint-2010.aspx

2) You can use custom Markup Styles: http://www.sharepointblues.com/2010/10/27/custom-styles-for-sharepoint-2010-rich-html-field/

Other than that, there really isn't a good way to change the "default" font in the Rich Text Editor.

1
  • 2
    The 1st link only shows how to add additional fonts to the end. The 2nd link will not work with Content Editor web parts, only publishing pages.
    – Brian
    Feb 20, 2013 at 19:51
1

Just a suggestion- I feel if you use for registering font from number -1 to 11 then somewhere it should be able to set it as default font as per the 1st link. Because as mentioned in the blog -1 to 11 are blocked for the defaut fonts. If you override them then you can set your font as default one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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