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

Change the New-line Mode from P to Br tag

The following example demonstrates how to change the default new-line behavior from inserting <p> tag to <br> tag.

  <textarea id="editor"></textarea>
    var defaultTools = kendo.ui.Editor.defaultTools;

    defaultTools["insertLineBreak"].options.shift = false;
    delete defaultTools["insertParagraph"].options;

See Also

In this article
Not finding the help you need? Improve this article