alexa
menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class PasteCleanupSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    PasteCleanupSettingsBuilder
    Namespace: Syncfusion.EJ2.BlockEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class PasteCleanupSettingsBuilder : ControlBuilder

    Constructors

    PasteCleanupSettingsBuilder()

    Declaration
    public PasteCleanupSettingsBuilder()

    PasteCleanupSettingsBuilder(PasteCleanupSettings)

    Declaration
    public PasteCleanupSettingsBuilder(PasteCleanupSettings model)
    Parameters
    Type Name Description
    PasteCleanupSettings model

    Methods

    AllowedStyles(String[])

    Specifies the allowed styles when pasting content. This property holds an array of styles that can be applied to pasted content.

    Declaration
    public PasteCleanupSettingsBuilder AllowedStyles(string[] value)
    Parameters
    Type Name Description
    System.String[] value
    Returns
    Type
    PasteCleanupSettingsBuilder

    DeniedTags(String[])

    Specifies the tags that are denied when pasting content. This property holds an array of tags that should be removed from pasted content.

    Declaration
    public PasteCleanupSettingsBuilder DeniedTags(string[] value)
    Parameters
    Type Name Description
    System.String[] value
    Returns
    Type
    PasteCleanupSettingsBuilder

    KeepFormat(Boolean)

    Specifies whether to keep the formatting of pasted content. This property determines if the formatting (e.g., bold, italics) should be preserved.

    Declaration
    public PasteCleanupSettingsBuilder KeepFormat(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PasteCleanupSettingsBuilder

    PlainText(Boolean)

    Specifies whether to paste as plain text. This property removes any formatting from the pasted content and pastes only the raw text.

    Declaration
    public PasteCleanupSettingsBuilder PlainText(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    PasteCleanupSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved