Class RichTextEditorPasteCleanupSettings
Inheritance
System.Object
    Syncfusion.EJ2.EJTagHelper
    RichTextEditorPasteCleanupSettings
  Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorPasteCleanupSettings : EJTagHelper
  Constructors
RichTextEditorPasteCleanupSettings()
Declaration
public RichTextEditorPasteCleanupSettings()
  Properties
AllowedStyleProps
Specifies the allowed style properties when pasting in the RichTextEditor.
Declaration
public string[] AllowedStyleProps { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String[] | The default value is null  | 
      
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
  Property Value
| Type | 
|---|
| Syncfusion.EJ2.MvcTemplate<System.Object> | 
DeniedAttrs
Specifies the attributes to restrict when pasting in the RichTextEditor.
Declaration
public string[] DeniedAttrs { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String[] | The default value is null  | 
      
DeniedTags
Specifies the tags to restrict when pasting in the RichTextEditor.
Declaration
public string[] DeniedTags { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String[] | The default value is null  | 
      
KeepFormat
Specifies whether to keep or remove formatting when pasting in the RichTextEditor.
Declaration
public bool KeepFormat { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | The default value is true  | 
      
PlainText
Specifies whether to paste as plain text or not in the RichTextEditor.
Declaration
public bool PlainText { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | The default value is false  | 
      
Prompt
Specifies whether to enable the prompt for paste in the RichTextEditor.
Declaration
public bool Prompt { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | The default value is false  |