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

Format Issue

1 Answer 62 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Cherian
Top achievements
Rank 1
Cherian asked on 11 Jun 2011, 05:51 AM
In editor field, change any font-name other than default font name, then change the font-size. Then we can see the font-name will automatically set to default font name of the browser.

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 15 Jun 2011, 01:49 PM
Hi Cherian,

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

All the best,
Rumen
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Editor
Asked by
Cherian
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or