Click or drag to resize
KaxEditorStripFormattingOptions Property
Gets or sets the value indicating how the editor should clear the HTML formatting when the user pastes data into the content area.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public EditorStripFormattingOptions StripFormattingOptions { get; set; }

Property Value

Type: EditorStripFormattingOptions
The default value is EditorStripFormattingOptions.None.
Remarks

EditorStripFormattingOptions enum members

MemberDescription
NoneDoesn't strip anything, asks a question when MS Word formatting was detected.
NoneSupressCleanMessageDoesn't strip anything and does not ask a question.
MSWordStrips only MSWord related attributes and tags.
MSWordNoFontsStrips the MSWord related attributes and tags and font tags.
MSWordRemoveAllStrips MSWord related attributes and tags, font tags and font size attributes.
CssRemoves style attributes.
FontRemoves Font tags.
SpanClears Span tags.
AllExceptNewLinesClears all tags except "br" and new lines (\n) on paste.
AllRemove all HTML formatting.

Note: In Gecko-based browsers you will see the mandatory dialog box where you need to paste the content.

See Also