New to Kendo UI for jQueryStart a free 30-day trial

Exec

methods

Executes an editor command on the currently selected text.

Parameters:nameString

The name of the command to be executed. The available names match the list of tools, plus "undo" and "redo".

params.valueObject

The parameters for the executed command.

<textarea id="editor"></textarea>
<script>
$("#editor").kendoEditor({ value: "foo" });
var editor = $("#editor").data("kendoEditor");
editor.exec("foreColor", { value: "#f00" });
</script>
Not finding the help you need?
Contact Support