Class RichTextEditorIFrameSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorIFrameSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.RichTextEditor
Assembly: Syncfusion.AspNetMvc.RichTextEditor.dll
Syntax
public class RichTextEditorIFrameSettingsBuilder : ControlBuilder
Constructors
RichTextEditorIFrameSettingsBuilder()
Declaration
public RichTextEditorIFrameSettingsBuilder()
RichTextEditorIFrameSettingsBuilder(RichTextEditorIFrameSettings)
Declaration
public RichTextEditorIFrameSettingsBuilder(RichTextEditorIFrameSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| RichTextEditorIFrameSettings | model |
Methods
Attributes(Object)
Defines additional attributes for rendering the iframe.
Declaration
public RichTextEditorIFrameSettingsBuilder Attributes(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| RichTextEditorIFrameSettingsBuilder |
Enable(Boolean)
Determines whether to render the Rich Text Editor with an iframe-based editable element.
Declaration
public RichTextEditorIFrameSettingsBuilder Enable(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| RichTextEditorIFrameSettingsBuilder |
MetaTags(Object)
Specifies the meta tags to be applied to the element of the iframe.
Declaration
public RichTextEditorIFrameSettingsBuilder MetaTags(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| RichTextEditorIFrameSettingsBuilder |
Resources(Object)
Object used to inject styles and scripts into the iframe.
Declaration
public RichTextEditorIFrameSettingsBuilder Resources(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| RichTextEditorIFrameSettingsBuilder |
Sandbox(String[])
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 RichTextEditorIFrameSettingsBuilder Sandbox(string[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | value |
Returns
| Type |
|---|
| RichTextEditorIFrameSettingsBuilder |