Hi,
I have gone through the documentation which helps in setting the default background color and fonts in editor.
The article says using ContentAreaCssFile property to assign the css file containing body class to change background color.
I did the same but it doesn't work. If I assign the same file using CssFile.Add method, it sets the background color.
But, this takes away all the classes that were in the 'Apply CSS' dropdown tool. I need them.
I'm using Telerik theme from DLL resource by simply assinging 'telerik' name to skin property, and not customizing it.
Here one tutorial says about using ContentAreaCssFile, and other one says about adding external css file.
http://www.telerik.com/DEMOS/ASPNET/prometheus/Editor/Examples/SettingContentAreaDefaults/DefaultCS.aspx
http://www.telerik.com/help/aspnet-ajax/settingeditorbackgroundandcolor.html
What is the right thing to do?
I tried both of them, none works for me. Only using javascript works. But still leaves me with another problem.
Fonts on entire page that holds editor, are smaller than they should be in firefox. It looks good enough in IE.
Thanks,
Chirag
I have gone through the documentation which helps in setting the default background color and fonts in editor.
The article says using ContentAreaCssFile property to assign the css file containing body class to change background color.
I did the same but it doesn't work. If I assign the same file using CssFile.Add method, it sets the background color.
But, this takes away all the classes that were in the 'Apply CSS' dropdown tool. I need them.
I'm using Telerik theme from DLL resource by simply assinging 'telerik' name to skin property, and not customizing it.
Here one tutorial says about using ContentAreaCssFile, and other one says about adding external css file.
http://www.telerik.com/DEMOS/ASPNET/prometheus/Editor/Examples/SettingContentAreaDefaults/DefaultCS.aspx
http://www.telerik.com/help/aspnet-ajax/settingeditorbackgroundandcolor.html
What is the right thing to do?
I tried both of them, none works for me. Only using javascript works. But still leaves me with another problem.
Fonts on entire page that holds editor, are smaller than they should be in firefox. It looks good enough in IE.
Thanks,
Chirag
