Class RichTextEditorPasteCleanupSettings
The class is used to configure paste related settings in the Rich Text Editor.
Inheritance
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class RichTextEditorPasteCleanupSettings : OwningComponentBase
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
Dispose()
Dispose the unmanaged resources.
Declaration
public virtual void Dispose()
Dispose(Boolean)
Dispose the unmanaged resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Boolean value to dispose the object. |
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |