More in this section

Forums / General Discussions / Content Block Editor - Custom colors in color picker

Content Block Editor - Custom colors in color picker

2 posts, 1 answered
  1. Nidhi
    Nidhi avatar
    40 posts
    Registered:
    20 Jul 2010
    05 May 2011
    Link to this post
    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>
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    28 Aug 2017
    09 May 2011
    Link to this post
    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
    Answered
2 posts, 1 answered