@progress/kendo-angular-editor
Version:
Kendo UI Editor for Angular
33 lines (32 loc) • 1.13 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { PreventableEvent } from "./preventable-event";
/**
* The Editor [`paste`]({% slug api_editor_editorcomponent %}#toc-paste) event.
*/
export class EditorPasteEvent extends PreventableEvent {
/**
* The HTML content cleaned in accordance with the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
*/
cleanedHtml;
/**
* The raw pasted content.
*/
originalHtml;
/**
* The original DOM event.
*/
originalEvent;
/**
* Constructs the event arguments for the `paste` event.
* @hidden
*/
constructor(cleanedHtml, originalHtml, originalEvent) {
super();
this.cleanedHtml = cleanedHtml;
this.originalHtml = originalHtml;
this.originalEvent = originalEvent;
}
}