Class PasteSettings
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
PasteSettings
Namespace: Syncfusion.EJ2.BlockEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class PasteSettings : EJTagHelper
Constructors
PasteSettings()
Declaration
public PasteSettings()
Properties
AllowedStyles
Specifies the allowed styles when pasting content. This property holds an array of styles that can be applied to pasted content.
Declaration
public string[] AllowedStyles { 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> |
DeniedTags
Specifies the tags that are denied when pasting content. This property holds an array of tags that should be removed from pasted content.
Declaration
public string[] DeniedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String[] | The default value is null |
KeepFormat
Specifies whether to keep the formatting of pasted content. This property determines if the formatting (e.g., bold, italics) should be preserved.
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. This property removes any formatting from the pasted content and pastes only the raw text.
Declaration
public bool PlainText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The default value is false |