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

Kendo UI EditorPasteCleanupSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class EditorPasteCleanupSettings

Inheritance: objectEditorPasteCleanupSettings

Inherited Members 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; }

Editor member.

C#
public Editor Editor { 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

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>