Content Block Editor - Custom colors in color picker

Posted by Community Admin on 03-Aug-2018 17:21

Content Block Editor - Custom colors in color picker

All Replies

Posted by Community Admin on 05-May-2011 00:00

Hi I want to add a custom color to the Fore Color color picker in Content Editor.
I have the toolsfile.xml in which I added the color, but now none of the default colors are there and it only shows my color. I want the default colors also. How do I do this??
Here's the code for my xml file.

<root>
    <modules>
        <module name="RadEditorStatistics" dockingZone="Bottom" visible="false" />
        <module name="RadEditorDomInspector" visible="false" />
        <module name="RadEditorNodeInspector" visible="false" />
        <module name="RadEditorHtmlInspector" visible="false" />
    </modules>
    <tools name="MainToolbar">
        <tool name="Bold" shortcut="CTRL+B"/>
        <tool name="Italic" shortcut="CTRL+I"/>
        <tool separator="true"/>
        <tool name="InsertOrderedList" />
        <tool name="InsertUnorderedList" />
        <tool separator="true"/>
        <tool name="LinkManager" shortcut="CTRL+K"/>
        <tool name="Unlink" shortcut="CTRL+SHIFT+K"/>
        <tool name="ImageManager" shortcut="CTRL+G"/>
        <tool separator="true"/>
        <tool name="AjaxSpellCheck"/>
        <tool separator="true"/>
        <tool name="PasteFromWord" />
        <tool separator="true"/>
        <tool name="FormatBlock"/>
        <tool separator="true"/>
        <tool name="ForeColor"/>
    </tools>
    <colors>
        <color value="#f9ed1d"/>
    </colors>
</root>

Posted by Community Admin on 09-May-2011 00:00

Hello Nidhi,

You can find the default color set as well as instructions on adding custom colors to the ContentEditor on this article from our ASP.NET Editor documentation. I hope you find this information useful, if you need any further assistance, please let us know.

Regards,
Boyan Barnev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed