Modifying Default FontName and Size

5 posts, 0 answers
  1. sham
    sham avatar
    8 posts
    Member since:
    Jun 2010

    Posted 22 Jun 2010 Link to this post

    Hello,

    I am using RadEditor  in sharepoint and facing one issue.

     

    I just want to restrict my editor's font name and size (say Arial,2) ,for that  i  made changes in ListToolsFile.Xml,
    in following sections

     

    <fontNames>
        <item name="Arial" />
      </fontNames>
      <fontSizes>
        <size value="2" />
      </fontSizes>

    Now  the problem is that i am still getting default option(Times New Roman,3).(See Attached file)
    Note-
    I am using Lite Edition of RadEditor,also using it in SharePoint List.

    Regards,
    Sham@

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 23 Jun 2010 Link to this post

    Hi sham,

    Add a CssEditor.css file in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.x.x.x__1f131a624888eeed/RadControls/Editor folder and define the following style:
    body
    {
        font-family: Arial;
        font-size: 13px;
    }

    Also review the following online help article: http://www.telerik.com/help/aspnet-ajax/defining-custom-css-styles.html

    All the best,
    Stanimir
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

  3. sham
    sham avatar
    8 posts
    Member since:
    Jun 2010

    Posted 23 Jun 2010 Link to this post

    Thanks a lot.
    its working.
  4. Rao
    Rao avatar
    4 posts
    Member since:
    Jun 2010

    Posted 06 Sep 2010 Link to this post

    Hi ,

    I also want to change the default font for Moss rad Editor. But i am not seeing any Folder like RadControls like mentioning here.

    Add a CssEditor.css file in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.x.x.x__1f131a624888eeed/RadControls/Editor folder and define the following style:

    I am using the Licensed and latest version of Moss Editor. Please suggest what to do.

    Thanks
  5. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 07 Sep 2010 Link to this post

    Hello,

    Open the CssEditor.css file from c:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.8.1.0__1f131a624888eeed\Resources\ on your MOSS server. If the file does not exist in the above folder, simply create an empty file with that name.

    Put the CSS style that Stanimir listed inside the CssEditor.css file:

    body
    {
        font-family: Arial;
        font-size: 13px;
    }

    This will change the default font name/size of the RadEditor in MOSS 2007.


    Sincerely yours,
    Lini
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top