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

Font face is lost when font size is changed

5 Answers 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
majsty
Top achievements
Rank 1
majsty asked on 26 Jul 2010, 04:54 AM
Tested this on http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx with IE7:

1. Clear all text (in case this matters, I did CTRL+A followed by backspace)
2. Set font to Arial
3. Type some text
4. Set font size to 20px
5. Font changes back to Times New Roman

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Jul 2010, 12:43 PM
Hi Majsty,

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

Kind regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bassam
Top achievements
Rank 1
answered on 18 Dec 2013, 02:49 AM
Hi Telerik,

I'm facing the same issue..
Have you found a solution without replacing the RealFontSize tool?

Thanks
0
Ianko
Telerik team
answered on 20 Dec 2013, 11:45 AM
Hi Bassam,

The problem mentioned in this thread is not reproducible with the latest version of the RadCotnrols suite (2013.3.1114). You can test the editor with this online demo.

Regards,
Ianko
Telerik
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 the blog feed now.
0
Bassam
Top achievements
Rank 1
answered on 30 Dec 2013, 06:16 AM
Hi Lanko,

Thanks for your reply.
But I can still reproduce the issue on the current demo.
After the demo page is loaded: change the font name then change the font size.. >>> the font name will be lost.

Regards,
0
Stanimir
Telerik team
answered on 02 Jan 2014, 08:42 AM
Hi,

Could you confirm in which browser you are reproducing the issue. A step by step scenario or a simple video cast will be of great help in order for me to reproduce the problem.

I created a small video where you can see my test http://screencast.com/t/BgD5UgVZprWG. Please explain if I am doing anything wrong in it.


Regards,
Stanimir
Telerik
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 the blog feed now.
Tags
Editor
Asked by
majsty
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Bassam
Top achievements
Rank 1
Ianko
Telerik team
Stanimir
Telerik team
Share this question
or