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

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class EditorPasteCleanupSettings : JsonObject

Inheritance: objectJsonObjectEditorPasteCleanupSettings

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public EditorPasteCleanupSettings()

Properties

All HTML tags are stripped leaving only the text in the content.

C#
public bool? All { get; set; }

Remove style and class attributes from the pasting content.

C#
public bool? Css { get; set; }

Use a callback function to integrate a custom implementation for cleaning up the paste content. Make sure the callback function always returns the result.

C#
public ClientHandlerDescriptor Custom { get; set; }

Strip all HTML tags but keep new lines in the pasted content.

C#
public bool? KeepNewLines { get; set; }

Remove all special formatting from MS Word content like font-name, font-size and MS Word specific tags.

C#
public bool? MsAllFormatting { get; set; }

Converts MS Word pasted content into HTML lists.

C#
public bool? MsConvertLists { get; set; }

Removes all MS Word specific tags and cleans up the extra metadata.

C#
public bool? MsTags { get; set; }

Prevent any cleaning up of the content.

C#
public bool? None { get; set; }

Remove all span elements from the content, ensuring much of the inline formatting is removed.

C#
public bool? Span { get; set; }

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)