font size missing

2 posts, 0 answers
  1. Heiko
    Heiko avatar
    1 posts
    Member since:
    Jun 2009

    Posted 15 Jun 2009 Link to this post

    Hello  team telerik,

    When we use in Rad Editor Lite the font size "3", the html code is the following:
    <div class="ExternalClassFD3A75651CF744CF81A19D8F45FE84D1">Test</div>
    There ist no tag concerning the font size!

    When we use the font size "2", the html code is:
    <div class="ExternalClassFD3A75651CF744CF81A19D8F45FE84D1"><font size="2">Test</font></div>
    Here we can see the expected font size tag.
    The same result with font size "4":
    <div class="ExternalClassFD3A75651CF744CF81A19D8F45FE84D1"><font size="4">Test</font></div>

    We need the font tag "3" for our web design, but we can not use it. Why?
  2. Stanimir
    Stanimir avatar
    1654 posts

    Posted 16 Jun 2009 Link to this post

    Hello Heiko,

    This problem appears when RadEditor is set to use the same default font and size, as the font and size that are set in the content editor's browser. Then the browser doesn't use a font name / size tag to display nor save the correct font as it recognizes it be default. The problem occurs when another user with different browser's FONT settings accesses the page. Since the new browser thinks that the default FONT should be, say Times New Roman, it displays it with the new settings.

    I can suggest you the following work around. You need to change the default font-size in the RadEditor. In order to do so create an CssEditor.css file in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\\RadControls\Editor folder and set the following css style.
    For example (you can change the size so it will fit your case):
        font-size: 10pt; 

    I hope this helps.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top