3 Answers, 1 is accepted
0
Hello Alex,
You can find information how to do this in the following online help article: Defining custom CSS styles
Regards,
Stanimir
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
What you need to do is load style such as the following in the content area of RadEditor:
body
{
font-family
:
Verdana
;
font-size
:
9px
;
}
Regards,
Stanimir
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Alex
Top achievements
Rank 1
answered on 30 Sep 2010, 08:35 PM
I tried the suggestion but when I go into edit mode for a page and switch the edit mode to HTML Editor in the RAD Editor box the font size remains the same...See picture of the font size.
0
Hi Alex,
Here is what to do:
1. Add the following elements to the respective ConfigFile.xml or ListConfigFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder:
2. Add the following javascript code to the MOSSEditorTools.js file, which is located in the mentioned above folder:
I hope this helps.
Kind regards,
Stanimir
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Here is what to do:
1. Add the following elements to the respective ConfigFile.xml or ListConfigFile.xml, which are located in the /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/5.x.x.0__1f131a624888eeed/Resources/ folder:
<
property
name
=
"OnClientLoad"
>OnClientLoad</
property
>
function OnClientLoad(editor, args)
{
//here you can modify the text area style
editor.get_textArea().style.font = "13px Verdana";
}
I hope this helps.
Kind regards,
Stanimir
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.