Enumerates the manners in which the editor handles pasted text.

Namespace: CuteEditor
Assembly: 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 nameValueDescription
Default0 When you paste text into the editor it is not processed.
Disabled1 Paste function is disabed.
PasteWord2 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.
PasteText3 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
PastePureText4 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
ConfirmWord5 When you pasting the content from Word into the editor, will prompt users with a popup prompt to clean the non-required code.
PasteCleanHTML6 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.
PasteAsHTML7 The content will be inserted into Cute Editor as HTML source.

See Also