Class RichTextEditorPasteCleanupSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorPasteCleanupSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.AspNetMvc.RichTextEditor.dll
Syntax
public class RichTextEditorPasteCleanupSettingsBuilder : ControlBuilder
Constructors
RichTextEditorPasteCleanupSettingsBuilder()
Declaration
public RichTextEditorPasteCleanupSettingsBuilder()
RichTextEditorPasteCleanupSettingsBuilder(RichTextEditorPasteCleanupSettings)
Declaration
public RichTextEditorPasteCleanupSettingsBuilder(RichTextEditorPasteCleanupSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| RichTextEditorPasteCleanupSettings | model |
Methods
AllowedStyleProps(String[])
Specifies the allowed style properties when pasting in the RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder AllowedStyleProps(string[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | value |
Returns
| Type |
|---|
| RichTextEditorPasteCleanupSettingsBuilder |
DeniedAttrs(String[])
Specifies the attributes to restrict when pasting in the RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder DeniedAttrs(string[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | value |
Returns
| Type |
|---|
| RichTextEditorPasteCleanupSettingsBuilder |
DeniedTags(String[])
Specifies the tags to restrict when pasting in the RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder DeniedTags(string[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | value |
Returns
| Type |
|---|
| RichTextEditorPasteCleanupSettingsBuilder |
KeepFormat(Boolean)
Specifies whether to keep or remove formatting when pasting in the RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder KeepFormat(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| RichTextEditorPasteCleanupSettingsBuilder |
PlainText(Boolean)
Specifies whether to paste as plain text or not in the RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder PlainText(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| RichTextEditorPasteCleanupSettingsBuilder |
Prompt(Boolean)
Specifies whether to enable the prompt for paste in the RichTextEditor.
Declaration
public RichTextEditorPasteCleanupSettingsBuilder Prompt(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| RichTextEditorPasteCleanupSettingsBuilder |