Class RichTextEditorPasteCleanupSettings
The class is used to configure paste related settings in the Rich Text Editor.
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
RichTextEditorPasteCleanupSettings
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorPasteCleanupSettings : SfBaseComponent
Constructors
RichTextEditorPasteCleanupSettings()
Declaration
public RichTextEditorPasteCleanupSettings()
Properties
AllowedStyleProperties
Specifies the allowed style properties when pasting in Rich Text Editor.
Declaration
public string[] AllowedStyleProperties { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
DeniedAttributes
Specifies the attributes to restrict when pasting in Rich Text Editor.
Declaration
public string[] DeniedAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
DeniedTags
Specifies the tags to restrict when pasting in Rich Text Editor.
Declaration
public string[] DeniedTags { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
KeepFormat
Specifies whether to keep or remove the format when pasting in Rich Text Editor.
Declaration
public bool KeepFormat { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PlainText
Specifies whether to paste as plain text or not in Rich Text Editor.
Declaration
public bool PlainText { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Prompt
Specifies whether to enable the prompt for paste in Rich Text Editor.
Declaration
public bool Prompt { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |