Skip to content

Commit 2961b5a

Browse files
allowed scripts in iframe
1 parent 13e54e1 commit 2961b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/view/adminhtml/templates/preview/iframeswitcher.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
frameborder="0"
1414
title="<?= $block->escapeHtmlAttr(__('Preview')) ?>"
1515
width="100%"
16-
sandbox="allow-same-origin allow-pointer-lock"
16+
sandbox="allow-same-origin allow-pointer-lock allow-scripts"
1717
></iframe>
1818
<form id="preview_form"
1919
action="<?= $block->escapeUrl($block->getUrl('*/*/popup')) ?>"

0 commit comments

Comments
 (0)