Font face is lost when font size is changed

6 posts, 0 answers
  1. majsty
    majsty avatar
    9 posts
    Member since:
    Jul 2007

    Posted 25 Jul 2010 Link to this post

    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
  2. Rumen
    Admin
    Rumen avatar
    14323 posts

    Posted 27 Jul 2010 Link to this post

    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
  3. Bassam
    Bassam avatar
    7 posts
    Member since:
    Dec 2010

    Posted 17 Dec 2013 Link to this post

    Hi Telerik,

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

    Thanks
  4. Ianko
    Admin
    Ianko avatar
    1932 posts

    Posted 20 Dec 2013 Link to this post

    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.
  5. Bassam
    Bassam avatar
    7 posts
    Member since:
    Dec 2010

    Posted 30 Dec 2013 Link to this post

    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,
  6. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 02 Jan 2014 Link to this post

    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.
Back to Top