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

Color Picker - Remove Custom Color

2 Answers 103 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 30 Jun 2010, 07:12 PM
I'm trying to remove the ability to add custom colors in the radEditor, because I don't find it really user-friendly. Looking in the telerik website, I came across the property AllowCustomColors but it seems that this property has been removed (http://www.telerik.com/help/aspnet-ajax/editor_migrationfromradeditorclassictoradeditorprometheus.html).

AllowCustomColors
n/a

 property

 Removed


Is there an easy way to achieve this, or do I need to implement my own color tool to go around the problem?

Thanks,
Sébastien

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 01 Jul 2010, 07:00 AM
Hello Sebastian,

The following CSS will do the trick. Add the CSS on page to hide the Custom Color option.


 
    <style type="text/css"
        .reCustomColor 
        { 
            displaynone !important; 
        } 
    </style> 


-Shinu.
0
Sébastien
Top achievements
Rank 1
answered on 02 Jul 2010, 01:19 PM
Working perfectly,

Thanks
Tags
Editor
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Sébastien
Top achievements
Rank 1
Share this question
or