IFrameSettingsModel
23 Sep 20251 minute to read
Interface for a class IFrameSettings
Properties
attributes { : }
Defines additional attributes for rendering the iframe.
enable boolean
Determines whether to render the Rich Text Editor with an iframe-based editable element.
metaTags Array
Specifies the meta tags to be applied to the <head> element of the iframe.
resources ResourcesModel
Object used to inject styles and scripts into the iframe.
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.