How to limit the Font dropdown

2 posts, 0 answers
  1. mark
    mark avatar
    2 posts
    Member since:
    Sep 2007

    Posted 13 Aug 2009 Link to this post

    I'm trying to limit the font choices in the font dropdown.  my toolsfile looks like this:

    <tool name="FontName">
     <font name="Arial"/>
     <font name="Georgia"/>
    </tool>

    but then I run the editor in the browser, I get what looks like all the fonts installed on the server.  how do i get rid of the default fonts?



  2. Jorge Merino
    Jorge Merino avatar
    9 posts
    Member since:
    Mar 2009

    Posted 13 Aug 2009 Link to this post

    Hi Mark.

    The format that you want to follow is:
    <root>
      ...
      <tools name="MossTools1" >
       ...
       <tool name="FontName" />
       ...
      </tools>
      <fontNames>
        <fontName name="Arial"/>
        <fontName name="Georgia"/>
      </fontNames>
      ...
    </root>

    If you want to set the Font per default on the dropdown, look at the post: http://www.telerik.com/community/forums/sharepoint-2007/full-featured-editor/how-to-set-the-verdana-font-per-default-on-the-dropdown.aspx
    and if you want to set the actual font on the CSS per default to be loaded on the Editor, look at the post  http://www.telerik.com/community/forums/sharepoint-2007/full-featured-editor/193456-setting-default-font.aspx

    I hope it helps.
    Jorge Merino

Back to Top