nonSplittableTagsOnPaste.tag String

An extension of the nonSplittableTagsOnPaste configuration. You can specify an array of objects instead of array of strings if you want to configure additional settings.

Example

<h4>Create a list using the editor toolbar command and then click the paste button.</h4>
<button id="paste">Paste</button>
<textarea id="editor"></textarea>
<script>
  var editor = $("#editor").kendoEditor({
    nonSplittableTagsOnPaste: [{
      tag: "ul",
      unwrap: false
    }],
    tools: [
      "insertUnorderedList"
    ]
  }).data("kendoEditor");

  $("#paste").on("click", () => {
    var editor = $("#editor").data("kendoEditor");
    editor.paste("<p>New content</p>");
  });
</script>
In this article