Enumerates the manners in which the editor handles pasted text.
Namespace: CuteEditorAssembly: CuteEditor (in CuteEditor.dll) Version: 6.7.0.0
Syntax
C# |
---|
public enum PasteBehavior |
Visual Basic |
---|
Public Enumeration PasteBehavior |
Visual C++ |
---|
public enum class PasteBehavior |
Members
Member name | Value | Description | |
---|---|---|---|
Default | 0 | When you paste text into the editor it is not processed. | |
Disabled | 1 | Paste function is disabed. | |
PasteWord | 2 | 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. | |
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 | |
PastePureText | 4 | When you paste text into the editor, all HTML formatting is stripped. This option is ideal for content management systems where you want absolute control over the formatting | |
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. | |
PasteCleanHTML | 6 | 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. | |
PasteAsHTML | 7 | The content will be inserted into Cute Editor as HTML source. |