Class RichTextEditorPasteCleanupSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 RichTextEditor.
Declaration
[HtmlAttributeName("allowedStyleProps")]
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 | Description |
---|---|
MvcTemplate<System.Object> |
DeniedAttrs
Specifies the attributes to restrict when pasting in RichTextEditor.
Declaration
[HtmlAttributeName("deniedAttrs")]
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 RichTextEditor.
Declaration
[HtmlAttributeName("deniedTags")]
public string[] DeniedTags { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The default value is null |
KeepFormat
Specifies whether to keep or remove the format when pasting in RichTextEditor.
Declaration
[HtmlAttributeName("keepFormat")]
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 RichTextEditor.
Declaration
[HtmlAttributeName("plainText")]
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 RichTextEditor.
Declaration
[HtmlAttributeName("prompt")]
public bool Prompt { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |