RadEditor for ASP.NET

RadEditor Send comments on this topic.
StripFormattingOnPaste Property
See Also 
Telerik.WebControls Namespace > RadEditor Class : StripFormattingOnPaste 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: Telerik.WebControls
Assembly: RadEditor (in RadEditor.dll)

Syntax

Visual Basic (Declaration) 
Public Property StripFormattingOnPaste As EditorStripFormattingOptions
Visual Basic (Usage)Copy Code
Dim instance As RadEditor
Dim value As EditorStripFormattingOptions
 
instance.StripFormattingOnPaste = value
 
value = instance.StripFormattingOnPaste
C# 
public EditorStripFormattingOptions StripFormattingOnPaste {get; set;}

Return Value

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.
AllRemove all HTML formatting.

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

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also