Skip to content

Commit 4fc79ad

Browse files
Preview: Add allow-forms to iframe sandbox attributes (#20701)
Add 'allow-forms' to iframe sandbox attributes
1 parent b4220a4 commit 4fc79ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/apps/preview/preview.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class UmbPreviewElement extends UmbLitElement {
6565
src=${this._previewUrl}
6666
title="Page preview"
6767
@load=${this.#onIFrameLoad}
68-
sandbox="allow-scripts allow-same-origin"></iframe>
68+
sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
6969
</div>
7070
</div>
7171
<div id="menu">

0 commit comments

Comments
 (0)