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

Text getting cut off

1 Answer 128 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Lindsay Miller
Top achievements
Rank 1
Lindsay Miller asked on 17 Feb 2011, 05:39 PM
We are using the RadEditor on a control.  If I change the font size to anything over 4 in the editor and begin typing, the letters are cut off at the top and bottom.  Is there a setting I need to set to fix this?  Here is the declaration for the RadEditor:

<telerik:RadEditor ID="tbNote" runat="server" Width="502px" 
    TextMode="MultiLine" Wrap="True" EditModes="Design" Height="250px" 
    Style="border: 1px solid navy;">
    <Tools>
        <telerik:EditorToolGroup Tag="BasicFunctions">
            <telerik:EditorTool Name="Cut" />
            <telerik:EditorTool Name="Copy" />
            <telerik:EditorTool Name="Paste" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Bold" />
            <telerik:EditorTool Name="Italic" />
            <telerik:EditorTool Name="Underline" />
            <telerik:EditorTool Name="StrikeThrough" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="FindAndReplace" />
            <telerik:EditorTool Name="Print" />                        
            <telerik:EditorTool Name="AjaxSpellCheck" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Undo" />
            <telerik:EditorTool Name="Redo" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Outdent" />
            <telerik:EditorTool Name="Indent" />
            <telerik:EditorTool Name="InsertOrderedList" />
            <telerik:EditorTool Name="InsertUnorderedList" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup Tag="FontTools">
            <telerik:EditorTool Name="FontName" />
            <telerik:EditorTool Name="FontSize" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="JustifyLeft" />
            <telerik:EditorTool Name="JustifyCenter" />
            <telerik:EditorTool Name="JustifyRight" />
            <telerik:EditorTool Name="JustifyFull" />
        </telerik:EditorToolGroup>
    </Tools>
    <Content>
    </Content>
</telerik:RadEditor>


Thank you,
Lindsay

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Feb 2011, 04:35 PM
Hi Lindsay Miller,

It seems that some global CSS class on the page is applying a line-height property with smaller value. To fix the problem set the CssFiles property of RadEditor as shown in the following help article: Content Area Appearance Problems.

All the best,
Rumen
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Editor
Asked by
Lindsay Miller
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or