Pending Review
Last Updated: 13 Aug 2020 12:30 by Simon

I would like to have the possibility to modify the pasted content before it is inserted by providing a callback function. This function would be called with the content after Kendo's internal cleanup and the cleanup I specified through the other options has run.

It would look like this:

    selector: 'my-app',
    template: `
        <kendo-editor [pasteCleanupSettings]="pasteCleanupSettings"></kendo-editor>
export class AppComponent {
    public pasteCleanupSettings = {
        // other options...
        custom: (input: string) => {
            return '<h1>I can do anything I want in here</h1>' + input;

Basically I want the same behavior as the jQuery editor provides through pasteCleanup.custom: