mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add yaml option to disable sandbox to iframe documentation
This commit is contained in:
parent
593d5caef3
commit
c4724201d5
@ -61,6 +61,11 @@ allow:
|
||||
description: The [Permissions Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy#iframes) of the iframe, that is, the value of the [`allow`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allow) attribute.
|
||||
type: string
|
||||
default: "fullscreen"
|
||||
disable_sandbox:
|
||||
required: false
|
||||
description: Disables the [sandbox](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox) attribute of the iframe, e.g. required for Chrome when viewing PDFs. This is less secure and should only be used if you trust the content of the iframe.
|
||||
type: boolean
|
||||
default: false
|
||||
{% endconfiguration %}
|
||||
|
||||
### Examples
|
||||
|
Loading…
x
Reference in New Issue
Block a user