New to Kendo UI for jQuery? Download free 30-day trial

Prevent Default Behavior of Enter key in Editor

Product Progress® Kendo UI® Editor for jQuery


How can I prevent the default behavior of the Enter key in the Editor widget?


  • You can handle the execute event of the Editor component and prevent the default behavior of the executing command, corresponding to the event of the Enter button - "insertParagraph".

The following example demonstrates how to achieve the desired scenario:

<textarea id="editor"></textarea>
        execute: function(e){         
            if( === "insertParagraph"){

See Also

In this article