Enumerates the manners in which the editor handles pasted text.
Namespace: RTEAssembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)
Syntax
C# |
---|
public enum RTEPasteMode |
Visual Basic |
---|
Public Enumeration RTEPasteMode |
Visual C++ |
---|
public enum class RTEPasteMode |
Members
Member name | Value | Description | |
---|---|---|---|
Default | 0 | Default action defined in the client side configuration file (richtexteditor\scripts\config.js) | |
Disabled | 1 | Paste function is disabed. | |
Paste | 2 | When you pasting the html code into the editor, the empty tags, redundant nested tags and messy or unreadable HTML code are automatically cleaned up. | |
PasteText | 3 | When you paste text into the editor, all HTML formatting is stripped except for paragraph marks. This option is ideal for content management systems where you want to import text from other word processors and strip off any strange formatting commands they included. | |
PasteWord | 4 | When you pasting the content from Word into the editor, the non-required code that usually comes with pasting from Word are automatically cleaned up. | |
ConfirmWord | 5 | When you pasting the content from Word into the editor, will prompt users with a popup prompt to clean the non-required code. |