Skip to content

Commit 389c443

Browse files
added allow-scripts to avoid script error
1 parent 2961b5a commit 389c443

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 allow-scripts"
16+
sandbox="allow-scripts allow-same-origin allow-pointer-lock"
1717
></iframe>
1818
<form id="preview_form"
1919
action="<?= $block->escapeUrl($block->getUrl('*/*/popup')) ?>"

0 commit comments

Comments
 (0)