New to Kendo UI for Angular? Start a free 30-day trial

Editor Events

The Kendo UI for Angular Editor emits a number of events which enable you to control its behavior upon user interaction.

The following example demonstrates all events the Editor features.

Example
View Source
Edit In Stackblitz  
Change Theme:

Customizing Pasted Content

To customize the pasted content, handle the Editor paste event, and replace the value of the event data cleanedHtml property with the desired string content. The paste event is preventable, allowing you to cancel the action and leave the Editor value intact.

The following example demonstrates how to prevent the paste event or replace the pasted content with custom one.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?