aspnet-17703-components-html-editor-concepts-content-filtering-and-validation-paste-formatting.md
ASPxHtmlEditor includes the capability to automatically format pasted HTML content based on the ASPxHtmlEditorHtmlEditingSettings.PasteMode property, which can be set to one of the following values:
Users can use the paste option bar’s buttons to change the format of the pasted HTML content. These buttons appear in the top-right corner of the design area after content is pasted. This functionality is initially disabled. Set the ASPxHtmlEditorHtmlEditingSettings.EnablePasteOptions property to true to enable it.
Additionally, you can handle the client-side ASPxClientHtmlEditor.BeforePaste event to format the pasted HTML content. This event fires before HTML markup is pasted to the editor. The event argument’s ASPxClientHtmlEditorBeforePasteEventArgs.html property returns the pasted HTML markup and allows you to customize it.
See Also