Edit this page

tools.palette String |Array (default: null)

Specifies the color palette for "foreColor" and "backColor" tools.

Example - "websafe" palette

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
    tools: [{
        name: "foreColor",
        palette: "websafe"
    }]
});
</script>

Example - list of colors

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({
    tools: [{
        name: "backColor",
        palette: ["#f0d0c9", "#e2a293", "#d4735e", "#65281a"]
    }]
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy