Adding fonts

4 posts, 1 answers
  1. NLV
    NLV avatar
    87 posts
    Member since:
    Aug 2009

    Posted 11 Dec 2009 Link to this post

    Hello,

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

    Regards
    NLV
  2. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 11 Dec 2009 Link to this post

    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.

  3. NLV
    NLV avatar
    87 posts
    Member since:
    Aug 2009

    Posted 11 Dec 2009 Link to this post

    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

  4. NLV
    NLV avatar
    87 posts
    Member since:
    Aug 2009

    Posted 11 Dec 2009 Link to this post

    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
Back to Top