Editor JSP Tag Overview

The Editor JSP tag is a server-side wrapper for the Kendo UI Editor widget.

Getting Started


Below are listed the steps for you to follow when configuring the Kendo UI Editor.

Step 1 Make sure you followed all the steps from the introductory article on Telerik UI for JSP.

Step 2 Create a new action method to render the view.

    @RequestMapping(value = {"index"}, method = RequestMethod.GET)
    public String index() {

        return "web/editor/index";

Step 3 Add the Kendo UI taglib mapping to the page.

    <%@taglib prefix="kendo" uri="https://www.telerik.com/kendo-ui/jsp/tags"%>

Step 4 Add the editor tag.

    <kendo:editor name="editor">

Event Handling

Subscribe to Events

You can subscribe to all events exposed by Kendo UI Editor by the handler name.

<kendo:editor name="editor" change="editor_change"></kendo:editor>

    function editor_change() {
        // Handle the change event


Existing Instances

You are able to reference an existing Editor instance via the jQuery.data(). Once a reference is established, you are able to use the Editor API to control its behavior.

// Put this after your Kendo Editor tag declaration
$(function() {
    // Notice that the Name() of the editor is used to get its client-side instance
    var editor = $("#editor").data("kendoEditor");

See Also

In this article