New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Provides enumerated values to be used to set format cleaning options on paste.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[Flags]
public enum EditorStripFormattingOptions

Fields

Remove all HTML formatting on paste.

C#
All = 512

Clears all tags except "br" and new lines (\n) on paste.

C#
AllExceptNewLines = 128

Converts Word ordered/unordered lists to HTML tags.

C#
ConvertWordLists = 256

Removes style attributes on paste.

C#
Css = 16

Removes Font tags on paste.

C#
Font = 32

Strips only MSWord related attributes and tags on paste.

C#
MSWord = 2

Strips the MSWord related attributes and tags and font tags on paste.

C#
MSWordNoFonts = 4

Strips MSWord related attributes and tags, margin attributes on paste.

C#
MSWordNoMargins = 1024

Strips MSWord related attributes and tags, font tags and font size attributes on paste.

C#
MSWordRemoveAll = 8

Doesn't strip anything on paste, asks a question when MS Word formatting detected.

C#
None = 0

Doesn't strip anything on paste and does not ask a question.

C#
NoneSupressCleanMessage = 1

Clears Span tags on paste.

C#
Span = 64