EditorStripFormattingOptions Enumeration |
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.
Namespace: Kettic.AspNet.Controls
Member name | Value | Description | |
---|---|---|---|
None | 0 | Doesn't strip anything on paste, asks a question when MS Word formatting detected. | |
NoneSupressCleanMessage | 1 | Doesn't strip anything on paste and does not ask a question. | |
MSWord | 2 | Strips only MSWord related attributes and tags on paste. | |
MSWordNoFonts | 4 | Strips the MSWord related attributes and tags and font tags on paste. | |
MSWordRemoveAll | 8 | Strips MSWord related attributes and tags, font tags and font size attributes on paste. | |
Css | 16 | Removes style attributes on paste. | |
Font | 32 | Removes Font tags on paste. | |
Span | 64 | Clears Span tags on paste. | |
AllExceptNewLines | 128 | Clears all tags except "br" and new lines (\n) on paste. | |
ConvertWordLists | 256 | Convert Word ordered/unordered lists to HTML tags. | |
All | 512 | Remove all HTML formatting on paste. |