Class RichTextEditorIFrameSettings
Inheritance
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorIFrameSettings : EJTagHelper
Constructors
RichTextEditorIFrameSettings()
Declaration
public RichTextEditorIFrameSettings()
Properties
Attributes
Defines additional attributes to render 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
Specifies whether to render iframe based editable element in RTE.
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 iframe's element.
Declaration
public object MetaTags { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Resources
The object used for inject styles and scripts.
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 |