Search results

IFrameSettings API in JavaScript RichTextEditor API control

Configures the iframe settings for the Rich Text Editor.

Properties

attributes

{ : }

Defines additional attributes for rendering the iframe.

Defaults to null

enable

boolean

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

Defaults to false

metaTags

Array

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

Defaults to []

resources

ResourcesModel

Object used to inject styles and scripts into the iframe.

Defaults to {}

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.

Defaults to null