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

When I enter some data in RadEditor and click on update. displaying font size small size

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Perfect
Top achievements
Rank 1
Perfect asked on 17 Feb 2011, 06:47 AM
Hi,
 I have 2 issues below I mention, please I hope you give solution asap to me. I'm using Q22010 version of RadControls.

1.    In Radeditor editable mode, I enter some data/ insert link button (see first attachment), then click on Update button in radeditor. the data can be saved. but display font size  as too small (see second attachment).  

2.  In RadEditor bottom I want to only symbols like Pencil symbol,<>, preview symbol only how to set ? Plese see third attachment.
 

  Advance In Thanks
Mr.Perfect

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Feb 2011, 04:04 PM
Hello Perfect,

1) If the content exported through RadEditor's does not have applied font-size inline style then the problem is due to that there is some font-size CSS setting on the public site that is applying smaller font size to the text.
What you can do is to wrap the produced by RadEditor content in a span tag with inline font-size style attribute and save it in the database with it, e.g.

RadEditor1.Content = "<span style='font-size: 12px;'>" + RadEditor1.Content + "</span>";

2) You can hide the text of the Design, HTML and Preview buttons by applying the following CSS classes:

<style type="text/css">
.reEditorModes a
{
    width: 26px !important;
    overflow: hidden;
    border: solid 1px #ececec;
}
 
.reEditorModes a span
{
    text-indent: -9999px;
}
 
a.reMode_selected
{
    border: solid 1px #828282;
    background: none #cecece !important;
}
</style>


Greetings,
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
General Discussions
Asked by
Perfect
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or