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

Adding fonts

3 Answers 102 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
NLV
Top achievements
Rank 1
NLV asked on 11 Dec 2009, 08:14 AM
Hello,

I want to add my custom fonts to the editor. How to do it without code?

Regards
NLV

3 Answers, 1 is accepted

Sort by
0
Accepted
Stanimir
Telerik team
answered on 11 Dec 2009, 08:29 AM
Hi Raghavendra,

Review the following online help article http://www.telerik.com/help/aspnet-ajax/fonts.html. There is explained how to use a ToolsFiles.xml in order to set the fonts. The ToolsFile.xml for Lite RadEditor for MOSS is located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.x.x.x__1f131a624888eeed/RadControls/Editor folder and for Full RadEditor for MOSS (5.x) it is in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder.
In addition you might find the following article helpful http://www.telerik.com/help/aspnet-ajax/removing-tools-from-toolbar.html.

 


Regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
NLV
Top achievements
Rank 1
answered on 11 Dec 2009, 08:37 AM
Hi Stanimir,

I've already done that. Here is my xml file.

<root> 
  <modules> 
    <module name="RadEditorDomInspector" /> 
  </modules> 
  <tools name="MossTools1">  
    <tool name="AjaxSpellCheck" /> 
    <tool name="FindAndReplace" /> 
    <tool separator="true" /> 
    <tool name="Cut" shortcut="CTRL+X" /> 
    <tool name="Copy" shortcut="CTRL+C" /> 
    <tool name="Paste" shortcut="CTRL+V" /> 
    <tool separator="true" /> 
    <tool name="Undo" shortcut="CTRL+Z" /> 
    <tool name="Redo" shortcut="CTRL+Y" /> 
    <tool separator="true" /> 
    <tool name="MOSSLinkManager" shortcut="CTRL+K" /> 
    <tool name="Unlink" shortcut="CTRL+SHIFT+K" /> 
    <tool name="ImageManager" shortcut="CTRL+G" /> 
    <tool name="MOSSTemplateManager" /> 
    <tool separator="true" /> 
    <tool name="MOSSInsertTable" /> 
    <tool name="SetTableProperties" /> 
    <tool name="ToggleTableBorder" /> 
    <tool separator="true" /> 
    <tool name="MOSSInsertTableElement">  
      <tool name="InsertRowAbove" /> 
      <tool name="InsertRowBelow" /> 
      <tool name="InsertColumnLeft" /> 
      <tool name="InsertColumnRight" /> 
      <tool name="DeleteRow" /> 
      <tool name="DeleteColumn" /> 
      <tool name="SplitCell" /> 
    </tool> 
    <tool name="MergeColumns" /> 
    <tool separator="true" /> 
    <tool name="ToggleSource" /> 
    <tool name="FormatStripper" /> 
    <tool separator="true" /> 
    <tool name="MOSSRightToLeft" /> 
    <tool name="MOSSLeftToRight" /> 
    <tool separator="true" /> 
    <tool name="ForeColor" /> 
    <tool name="BackColor" /> 
  </tools> 
  <tools name="MossTools2">  
    <tool name="ApplyClass" /> 
    <tool name="FormatBlock" /> 
    <tool separator="true" /> 
    <tool name="FontName">  
      <font name="Arial"/>  
      <font name="Calibri"/>  
      <font name="Verdana"/>  
      <font name="Georgia"/>  
      <font name="Tahoma"/>  
      <font name="Times New Roman"/>  
    </tool> 
    <tool name="FontSize" /> 
    <tool separator="true" /> 
    <tool name="Bold" shortcut="CTRL+B" /> 
    <tool name="Italic" shortcut="CTRL+I" /> 
    <tool name="Underline" shortcut="CTRL+U" /> 
    <tool separator="true" /> 
    <tool name="JustifyLeft" /> 
    <tool name="JustifyCenter" /> 
    <tool name="JustifyRight" /> 
    <tool separator="true" /> 
    <tool name="InsertOrderedList" /> 
    <tool name="InsertUnorderedList" /> 
    <tool separator="true" /> 
    <tool name="Indent" /> 
    <tool name="Outdent" /> 
  </tools> 
  <contextMenus> 
    <contextMenu forElement="*">  
      <tool name="Cut"/>  
      <tool name="Copy"/>  
      <tool name="Paste"/>  
    </contextMenu> 
  </contextMenus> 
</root> 

Isn't that correct? What changes should i do?

 

Thank you.

Regards

NLV

0
NLV
Top achievements
Rank 1
answered on 11 Dec 2009, 08:43 AM
Okie, my bad. I followed this link - http://www.telerik.com/help/aspnet/editor/fonts.html by mistake. It is working great.

Thanks for your prompt reply.
Regards
NLV
Tags
WebParts for SharePoint
Asked by
NLV
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
NLV
Top achievements
Rank 1
Share this question
or