Search results

IFrameSettingsModel API in React RichTextEditor API component

Interface for a class IFrameSettings

Properties

attributes

{ : }

Defines additional attributes to render iframe.

enable

boolean

Specifies whether to render iframe based editable element in RTE.

metaTags

Array

Specifies the meta tags to be applied to the iframe’s element.

resources

ResourcesModel

The object used for inject styles and scripts.

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.