Class
EditorPasteSettings

The class for the paste settings of the Editor component.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class EditorPasteSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Inheritance: objectComponentBaseEditorPasteSettings

Implements: IComponentIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.OnInitialized()ComponentBase.OnParametersSet()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)

Constructors

EditorPasteSettings()

Declaration

cs-api-definition
public EditorPasteSettings()

Properties

ConvertMsLists

Defines whether MS Word lists should be converted to HTML lists.

Declaration

cs-api-definition
[Parameter]
public bool ConvertMsLists { get; set; }

Property Value

bool

RemoveAllAttributes

Defines whether all attributes should be stripped. Takes precedence over RemoveAttributes, RemoveMsClasses, RemoveMsStyles.

Declaration

cs-api-definition
[Parameter]
public bool RemoveAllAttributes { get; set; }

Property Value

bool

RemoveAttributes

Defines a set of attributes to be stripped from the pasted HTML.

Declaration

cs-api-definition
[Parameter]
public List<string> RemoveAttributes { get; set; }

Property Value

List<string>

RemoveHtmlComments

Defines whether html comments should be stripped from the content.

Declaration

cs-api-definition
[Parameter]
public bool RemoveHtmlComments { get; set; }

Property Value

bool

RemoveMsClasses

Defines whether class attributes starting with 'Mso' should be removed from the HTML.

Declaration

cs-api-definition
[Parameter]
public bool RemoveMsClasses { get; set; }

Property Value

bool

RemoveMsStyles

Defines whether style attributes starting with 'Mso' should be removed from the HTML.

Declaration

cs-api-definition
[Parameter]
public bool RemoveMsStyles { get; set; }

Property Value

bool

StripTags

Defines set of tags to be removed from the HTML.

Declaration

cs-api-definition
[Parameter]
public List<string> StripTags { get; set; }

Property Value

List<string>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnInitializedAsync()

Declaration

cs-api-definition
protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

cs-api-definition
protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

cs-api-definition
public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)