I want to let users format the text in the editor only using the tools in the toolbar. It seems that even if the tools for Italic or Underlined are not included the text can still be formated with the keyboard shortcuts (<ctrl> + i or <ctrl> + u).
When using the shortcuts (for ex. <ctrl> + i) when the tool is not included the Execute event is not fired but the text can still be formated.
$(
"#editor"
).kendoEditor({
tools: [
"italic"
],
execute:
function
(e) {
console.log(
"executing command"
, e.name, e.command);
}
});
See http://dojo.telerik.com/@alexc/eHArEg
Is there a way to prevent unwanted keyboard shortcuts?