is it possible to show only the edit mode icons, e.g. without the text preview or html. Before we changed to Telerik ASP.NET AJAX Controls we had at the classic controls a property to define that only the icons will be shown.
Thanks for any hints.
Frank
3 Answers, 1 is accepted
0
Dobromir
Telerik team
answered on 23 Dec 2009, 09:09 AM
Hello Frank,
RadEditor offers the possibility to show/hide specific view modes by setting the EditModes property to match the requested scenario, e.g:
i know the EditModes property already. What i meant is the apperance of the edit modes at the editor. Ordinary the icons and the text will be shown. But what i need is the apparance in the attached picture file shown (without the red border, is only for help).
Greetings Frank
0
Accepted
Martin
Telerik team
answered on 04 Jan 2010, 09:31 AM
Hi Frank Kocher,
Here is the CSS that you can use in order to remove the text from the editor modes buttons:
.reEditorModes a
{
background: none !important;
width: 22px !important;
}
.reEditorModes span
{
text-indent: -9999px;
}
... However, please, keep in mind that the approach that has been used prevents the buttons from having a "selected" state and you will need to create your own "selected" state image and refer it with a CSS like this:
.reEditorModes a.reMode_selected
{
background: url('SelectedState.gif') no-repeat center !important;
}