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

How can I change default "Times New Roman" font to "Verdana" font in RadEditor?

1 Answer 216 Views
Editor
This is a migrated thread and some comments may be shown as answers.
chau
Top achievements
Rank 1
chau asked on 23 Jul 2008, 03:15 PM

Hi everyone!

How can I change default "Times New Roman" font to "Verdana" font in Free Lite Moss Edition when RadEditor is loaded in moss 2007.

Please let me know if you any solutions.
Thanks,
Chau

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 24 Jul 2008, 08:52 AM
Hi Chau,

Telerik RadEditor uses the same CSS files as the default rich-text editor. Those files are HtmlEditorTableFormats.css and HtmlEditorCustomStyles.css, which are located in the following folder: /Program Files/Common Files/Microsoft Shared/web server extensions/12/Template/Layouts/1033/Styles. By modifying these CSS files you can add, edit, and delete CSS styles which are displayed in the "Apply CSS class" dropdown. Note that, when defining styles you don't have to use Microsoft's naming convention with the .ms-rteCustom prefix.

If you do not wish to modify the default MOSS editor CSS files, you can add your custom styles in another location: /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.4.1.0__1f131a624888eeed/RadControls/Editor/CssEditor.css  This file is not created by default when you install RadEditor for MOSS. However, if it is present, the editor will automatically load it. Note that the folder name depends on the editor version (in this case it is 4.4.1.0). Also do not forget to back up the CssEditor.css file when you uninstall/upgrade the editor.

What you should do is to create the CssEditor.css and add the desired styles there e.g.

BODY
{
    font-family: Verdana !important;
     font-size: 10pt !Iimportant;

}

I hope this helps.

Regards,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
chau
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or