This is a migrated thread and some comments may be shown as answers.

Additional Fonts in RadEditor for MOSS

1 Answer 82 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
ZipTX
Top achievements
Rank 1
ZipTX asked on 09 Jul 2007, 08:16 PM
I don't seem to be able to add additional fonts to the RadEditor in Moss.  I've tried several options ...

The original file located at:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\4.1.0.0__1f131a624888eeed\RadControls\Editor

Has this tag:
<tool name="FontName" />

Telerik help "UsingTheToolsFile" states the tag should be this:
ms-help://telerik.radeditor.71.Net2/telerik.radeditor.71.Net2/UsintTheToolsFile.html
    <tool name="fontNames" >
       <font name="Arial" />
       <font name="Arial Narrow" />
       <font name="Arial Black" />
    </tool>

Telerik help "Fonts" states the tag should be this:
ms-help://telerik.radeditor.71.Net2/telerik.radeditor.71.Net2/Fonts.html

<fontNames>
   <item name="Arial" />
   <item name="Arial Narrow" />
   <item name="Arial Black" />
</fontNames>

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 13 Jul 2007, 03:30 PM
Hello,

You should have no problems with the font names in MOSS. The only thing you need to check is if you are opening the correct tools file:

ToolsFile.xml is used in the WCM editor field and the editor Web Part.
ListToolsFile.xml is used in SharePoint lists (that includes wikis, blogs, etc.)

If you want to be sure just modify both files. You just need to add the <fontNames> tag at the end of the tools file, before the closing </tools> tag. For example:

...
  </contextMenus>
  <fontNames>
   <item name="Arial" />
   <item name="Arial Narrow" />
   <item name="Arial Black" />
  </fontNames>
</root>

This should make the editor dropdown display only the three listed fonts(see attached screenshot).

Note that this change only applies to the fonts dropdown list and does not affect the editor's default font. If you need to change that, take a look at the "Changing the default font" article in the editor documentation.
Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
ZipTX
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or