Class RichTextEditorPasteCleanupSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorPasteCleanupSettingsBuilder
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.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
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
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
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
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
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 |