Skip to content

Commit 43ac322

Browse files
rickbutterfieldAndyButland
authored andcommitted
Preview: Add allow-forms to iframe sandbox attributes (#20701)
Add 'allow-forms' to iframe sandbox attributes
1 parent 96ecef0 commit 43ac322

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
@@ -63,7 +63,7 @@ export class UmbPreviewElement extends UmbLitElement {
6363
src=${this._previewUrl}
6464
title="Page preview"
6565
@load=${this.#onIFrameLoad}
66-
sandbox="allow-scripts allow-same-origin"></iframe>
66+
sandbox="allow-scripts allow-same-origin allow-forms"></iframe>
6767
</div>
6868
</div>
6969
<div id="menu">

0 commit comments

Comments
 (0)