HtmlEditorPasteMode Enum
Lists values that specify how the HTML content is pasted to ASPxHtmlEditor.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Members
Name | Description |
---|---|
SourceFormatting
|
The formatting of the pasted content is retained. A style definition that is associated with the copied text is copied to the destination document. |
MergeFormatting
|
The formatting of the pasted content is mostly discarded. However, emphasis formatting, such as bold and italic text, is retained. The content takes on the style characteristics of the paragraph where it is pasted. The content also takes on any direct formatting or style properties of element that immediately precedes the cursor when the content is pasted. |
PlainText
|
The formatting of the pasted content and non-text elements, such as pictures or tables, is discarded. The text takes on the style characteristics of the paragraph where it is pasted and takes on any direct formatting or character style properties of text that immediately precedes the cursor when the text is pasted. Graphical elements are discarded, and tables are converted to a series of paragraphs. |
Related API Members
The following properties accept/return HtmlEditorPasteMode values: