Kendo UI EditorPasteCleanupSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorPasteCleanupSettings
Inheritance: objectEditorPasteCleanupSettings
Inherited Members
Constructors
public EditorPasteCleanupSettings()
Properties
All HTML tags are stripped leaving only the text in the content.
public bool? All { get; set; }
Remove style and class attributes from the pasting content.
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.
public ClientHandlerDescriptor Custom { get; set; }
Strip all HTML tags but keep new lines in the pasted content.
public bool? KeepNewLines { get; set; }
Remove all special formatting from MS Word content like font-name, font-size and MS Word specific tags.
public bool? MsAllFormatting { get; set; }
Converts MS Word pasted content into HTML lists.
public bool? MsConvertLists { get; set; }
Removes all MS Word specific tags and cleans up the extra metadata.
public bool? MsTags { get; set; }
Methods
Serialize method.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()