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

Modifying Default FontName and Size

4 Answers 55 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
sham
Top achievements
Rank 1
sham asked on 22 Jun 2010, 10:38 AM

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@

4 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 23 Jun 2010, 08:59 AM
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
0
sham
Top achievements
Rank 1
answered on 23 Jun 2010, 12:11 PM
Thanks a lot.
its working.
0
Rao
Top achievements
Rank 1
answered on 06 Sep 2010, 01:48 PM
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
0
Lini
Telerik team
answered on 07 Sep 2010, 12:53 PM
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.
Tags
WebParts for SharePoint
Asked by
sham
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
sham
Top achievements
Rank 1
Rao
Top achievements
Rank 1
Lini
Telerik team
Share this question
or