Class EditorPasteSettings
The class for the paste settings of the Editor component.
Inheritance
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class EditorPasteSettings : ComponentBase
Constructors
EditorPasteSettings()
Declaration
public EditorPasteSettings()
Properties
ConvertMsLists
Defines whether MS Word lists should be converted to HTML lists.
Declaration
public bool ConvertMsLists { get; set; }
Property Value
System.Boolean
|
RemoveAllAttributes
Defines whether all attributes should be stripped. Takes precedence over RemoveAttributes, RemoveMsClasses, RemoveMsStyles.
Declaration
public bool RemoveAllAttributes { get; set; }
Property Value
System.Boolean
|
RemoveAttributes
Defines a set of attributes to be stripped from the pasted HTML.
Declaration
public List<string> RemoveAttributes { get; set; }
Property Value
System.Collections.Generic.List<System.String>
|
RemoveHtmlComments
Defines whether html comments should be stripped from the content.
Declaration
public bool RemoveHtmlComments { get; set; }
Property Value
System.Boolean
|
RemoveMsClasses
Defines whether class attributes starting with 'Mso' should be removed from the HTML.
Declaration
public bool RemoveMsClasses { get; set; }
Property Value
System.Boolean
|
RemoveMsStyles
Defines whether style attributes starting with 'Mso' should be removed from the HTML.
Declaration
public bool RemoveMsStyles { get; set; }
Property Value
System.Boolean
|
StripTags
Defines set of tags to be removed from the HTML.
Declaration
public List<string> StripTags { get; set; }
Property Value
System.Collections.Generic.List<System.String>
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task
|
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|