fix: Code Preview sandbox
This commit is contained in:
parent
bdae58ceb8
commit
bfbcdc7420
|
|
@ -37,7 +37,7 @@
|
|||
<iframe
|
||||
bind:this={iframeRef}
|
||||
title="Preview {language}"
|
||||
sandbox="allow-scripts"
|
||||
sandbox="allow-scripts allow-same-origin"
|
||||
class="code-preview-iframe"
|
||||
></iframe>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue