Preview: Add allow-forms to iframe sandbox attributes (#20701)

Add 'allow-forms' to iframe sandbox attributes
This commit is contained in:
Rick Butterfield
2025-10-31 12:34:36 +00:00
committed by GitHub
parent b4220a4d80
commit 4fc79ad1f8

View File

@@ -65,7 +65,7 @@ export class UmbPreviewElement extends UmbLitElement {
src=${this._previewUrl}
title="Page preview"
@load=${this.#onIFrameLoad}
sandbox="allow-scripts allow-same-origin"></iframe>
sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
</div>
</div>
<div id="menu">