I need to disable delete and backspace buttons from key events on my Kendo ui editor (Angular) , I have tried onTextChange and valueChange functions but none of them are catching key press , keydown or keyup events,
kingly request to provide your inputs.
here is my editor (i have used onblur and onfocus which are coming but unable to catch those events)
here is the sample code snipped i have used
<kendo-editor [value]="content" [pasteCleanupSettings]="pasteCleanupSettings"
(valueChange)="valueChange($event)"
>
<kendo-toolbar>
<kendo-toolbar-buttongroup>
<kendo-toolbar-button kendoEditorUndoButton></kendo-toolbar-button>
<kendo-toolbar-button kendoEditorRedoButton></kendo-toolbar-button>
</kendo-toolbar-buttongroup>
valueChange(val: string): void {
this.content = val;
this.contentChange.emit(this.content);
}
public onFocus(): void {
this.log("focus");
}
public onBlur(): void {
this.log("blur");
}
public onKeyDown(): void {
this.log("down");
}
public onKeyUp(): void {
this.log("up");
}