menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RichTextEditorPasteCleanupSettingsBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved