chore(ui): remove unwanted code
This commit is contained in:
@@ -32,7 +32,7 @@ function WebPreview({ html, setHtml, elements }) {
|
|||||||
{html && html.length > 0 ? (
|
{html && html.length > 0 ? (
|
||||||
<iframe
|
<iframe
|
||||||
srcDoc={html}
|
srcDoc={html}
|
||||||
sandbox="allow-forms allow-scripts"
|
sandbox="allow-forms allow-scripts allow-same-origin allow-popups allow-modals allow-orientation-lock allow-pointer-lock allow-presentation allow-top-navigation allow-top-navigation-by-user-activation"
|
||||||
style={{ width: '850px', height: '620px', resize: 'both' }}
|
style={{ width: '850px', height: '620px', resize: 'both' }}
|
||||||
></iframe>
|
></iframe>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user