menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class RichTextEditorIFrameSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    RichTextEditorIFrameSettings
    Namespace: Syncfusion.EJ2.RichTextEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RichTextEditorIFrameSettings : EJTagHelper

    Constructors

    RichTextEditorIFrameSettings()

    Declaration
    public RichTextEditorIFrameSettings()

    Properties

    Attributes

    Defines additional attributes for rendering the iframe.

    Declaration
    public object Attributes { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    Enable

    Determines whether to render the Rich Text Editor with an iframe-based editable element.

    Declaration
    public bool Enable { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    MetaTags

    Specifies the meta tags to be applied to the element of the iframe.

    Declaration
    public object MetaTags { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Resources

    Object used to inject styles and scripts into the iframe.

    Declaration
    public object Resources { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Sandbox

    Represents the sandbox attribute for the Rich Text Editor's iframe, defining the security restrictions applied to the embedded content. Configure this property using a string array (e.g., ["allow-scripts", "allow-forms"]). If set to an empty array, all restrictions are applied except "allow-same-origin". By default, "allow-same-origin" is included in the Rich Text Editor's iframe sandbox.

    Declaration
    public string[] Sandbox { get; set; }
    Property Value
    Type Description
    System.String[]

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved