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

Unable to set RadEditor Default font size

4 Answers 156 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 16 Jan 2013, 04:00 PM
So far as I know I've been following your documentation to the letter.  (http://www.telerik.com/help/aspnet-ajax/editor-default-font-for-editable-content.html  etc...)

I have a RadEditor with the necessary EditContentArea.css.

In the css I have:
body {
     background-color: white;      
    font-family: Arial !important; 
    font-size: 10pt !important;
}

But no matter what I do, the editor always comes up in Times-Roman 16pt.

What could I be missing?

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Jan 2013, 04:19 PM
Hello,

Make sure that you have not set the ContentAreaMode to DIV.

For your convenience I recorded the following video: http://screencast.com/t/iSZlM2iVrc.

In div mode use the solution provided in this live demo: Customize Content Area.

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Boris
Top achievements
Rank 1
answered on 16 Jan 2013, 04:46 PM
I'm sorry but I think I'm more confused than ever.  I have not touched ContentAreaMode.  It's iFrame.

The ContentAreaCss file doesn't seem to have any effect at all.  The editor still keeps coming up in Times-Roman.

(I should mention that I've done very little with CSS in this app so far and as far as I know, I've done nothing to affect the RadEditor other than that one file.  The master page does have a css reference and I'll recheck it but I don't think it has any RadEditor related items.)
0
Boris
Top achievements
Rank 1
answered on 16 Jan 2013, 09:24 PM
Late breaking bulletin:  I have not been able to get the RadEditors to default while running in VS2012 on my own machine.  When we published it to the server with the same slightly modified EditorContentArea.css (with the "font-family: Arial !important;" setting), all the RadEditors in the system come up with Arial.  



0
Accepted
Rumen
Telerik team
answered on 17 Jan 2013, 02:18 PM
Hello,

The problem on your local machine could be a caching issue. If the issue exists in Cassini (the VS integrated server) test the project in IIS on the locale machine.

Greetings,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Boris
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Boris
Top achievements
Rank 1
Share this question
or