Hi
1. select a font name from Arial to Verdana
2. select font size to 10px to 12px
3. font name reset to Arial.
my css file for radeditor:
body
{
font-family: Arial;
font-size: 10px;
}
P
{
margin:0px;
}
Is there a way not to cause the reset? same to 'Paragraph Style' tool
thank you
Charles
3 Answers, 1 is accepted
0
Dobromir
Telerik team
answered on 10 Feb 2011, 08:35 AM
Hi Charles,
I tried to reproduce the problem but to no avail. Could you please provide more detailed information regarding specific scenario?
Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
Under which browser and its version the problem occurs?
Are you able to reproduce the problem on the live demos? If so, could you please provide the exact steps the need to be executed in order to reproduce the issue?
Could you please provide a simple fully runnable project reproducing the problem so we can investigate it further?
I have different requirement to format the font style/size.
Is it possible to select my font style/size before typing my content? like how it is in MS Word.
I am aware of this behavior and it is a side effect of our custom RealFontSize tool implementation. Basically, when you choose some value from the FontName dropdown it is inserted an empty font tag in the editor. After that when you select a value from the RealFontSize tool, the tool sees that the selection is empty and strips the Font tag, because it is not designed to work with empty selections.
If you do not like this behavior you can replace the RealFontSize tool with the browser's FontSize tool. You can see how to add new tools to the toolbar in this article: http://www.telerik.com/help/aspnet-ajax/addingstandardbuttons.html