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

[Solved] Not show spell checker icon in rad editor

1 Answer 113 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jyoti
Top achievements
Rank 1
Jyoti asked on 06 Aug 2009, 07:33 AM
Hi,

I want to add spellchecker in my rad editor.
But icon for spell checker is not showing in rad editor.
However i add icon in Editortoolsfile.xml.
Please help me ASAP.

Thanks in advance

Jyoti Khurana

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 11 Aug 2009, 06:29 AM
Hi Jyoti,

You cannot add custom icon in the tools file, but you have to specify it via CSS. The CSS class you have to use is the name of the command, i.e:

1.Tools file declaration

<tool name="AjaxSpellCheck" shortcut="F7"/>

2. CSS Class:

<style type="text/css">
.AjaxSpellCheck
{
    background: url('CustomSpellCheckIcon.gif') no-repeat center !important;
}
</style>


Instead of using a custom icon, you may use our icons. In this case you do not have to write any additional CSS. However, if you use your icon, do not remove the !important flag and make sure the filepath is correct, otherwise your custom setting will not work.

Regards,
Martin Ivanov
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.
Tags
Editor
Asked by
Jyoti
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or