Class RichTextEditorIFrameSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextEditorIFrameSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RichTextEditorIFrameSettingsBuilder : ControlBuilder
Constructors
RichTextEditorIFrameSettingsBuilder()
Declaration
public RichTextEditorIFrameSettingsBuilder()
RichTextEditorIFrameSettingsBuilder(RichTextEditorIFrameSettings)
Declaration
public RichTextEditorIFrameSettingsBuilder(RichTextEditorIFrameSettings model)
Parameters
Methods
Attributes(Object)
Defines additional attributes for rendering the iframe.
Declaration
public RichTextEditorIFrameSettingsBuilder Attributes(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
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
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
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
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