To paste only text, you can define an insert handler that removes everything except text. It is as simple as:
$("#editor").kendoEditor({ paste: function (ev) { ev.html = $(ev.html).text(); } });
The paste handler receives as an argument an event that has processed text in html . We can use jQuery to get only text using $(ev.html).text()
To remove shortcuts, and as far as I can check it with the latest version of Kendo UI, if you define only those tools that you want, only those shortcuts are active. Therefore, if you say something like:
$("#editor").kendoEditor({ tools: [ "italic" ], paste: function (ev) { ev.html = $(ev.html).text(); } });
Only the italic shortcut <ctrl>+i . If you leave the tools array empty, you don't have one.
source share