Class
EditorPasteSettings

The class for the paste settings of the Editor component.

Definition

Constructors

EditorPasteSettings()

Declaration

public EditorPasteSettings()

Properties

ConvertMsLists

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

Declaration

[Parameter]
public bool ConvertMsLists { get; set; }

Property Value

bool

RemoveAllAttributes

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

Declaration

[Parameter]
public bool RemoveAllAttributes { get; set; }

Property Value

bool

RemoveAttributes

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

Declaration

[Parameter]
public List<string> RemoveAttributes { get; set; }

Property Value

List<string>

RemoveHtmlComments

Defines whether html comments should be stripped from the content.

Declaration

[Parameter]
public bool RemoveHtmlComments { get; set; }

Property Value

bool

RemoveMsClasses

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

Declaration

[Parameter]
public bool RemoveMsClasses { get; set; }

Property Value

bool

RemoveMsStyles

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

Declaration

[Parameter]
public bool RemoveMsStyles { get; set; }

Property Value

bool

StripTags

Defines set of tags to be removed from the HTML.

Declaration

[Parameter]
public List<string> StripTags { get; set; }

Property Value

List<string>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder

RenderTreeBuilder

Overrides ComponentBase.BuildRenderTree(RenderTreeBuilder)

OnInitializedAsync()

Declaration

protected override Task OnInitializedAsync()

Returns

Task

Overrides ComponentBase.OnInitializedAsync()

OnParametersSetAsync()

Declaration

protected override Task OnParametersSetAsync()

Returns

Task

Overrides ComponentBase.OnParametersSetAsync()

SetParametersAsync(ParameterView)

Declaration

public override Task SetParametersAsync(ParameterView parameters)

Parameters

parameters

ParameterView

Returns

Task

Overrides ComponentBase.SetParametersAsync(ParameterView)