Skip to content

Commit b1dbd80

Browse files
authored
Adds allow-same-origin to preview IFRAME. (#18895)
1 parent 882a042 commit b1dbd80

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"></iframe>
66+
sandbox="allow-scripts allow-same-origin"></iframe>
6767
</div>
6868
</div>
6969
<div id="menu">

0 commit comments

Comments
 (0)