Table of Contents
EditorPasteFilter Enumeration

Specifies the type of the filter to be applied when user pastes text into the editor.

Namespace: EO.Web
Assembly: EO.Web (in EO.Web.dll)

Syntax
 public enum EditorPasteFilter
Remarks

The filter modifies the text before it is being pasted. For example, TextOnly filter strips all HTML formatting, thus transforms a HTML segment into its plain text equivalent.

Custom filtering can be implemented by handling ClientSideOnPaste client side event.

Members
Member Name Description
None The text is pasted as is.
MsWordAuto The editor automatically checks whether the content is from Word, and if so, automatically cleans up unnecessary Word formatting code.
MsWordWithConfirm The editor automatically checks whether the content is from Word, and if so, asks user to confirm whether to cleans up unnecessary Word formatting code.
TextOnly The editor automatically removes all HTML formatting.
TextWithLineBreak The editor automatically removes all HTML formatting, but keeps the line breaks.
See Also