fix: Code Preview sandbox

This commit is contained in:
Aleksander Grygier 2026-01-28 17:31:04 +01:00
parent bdae58ceb8
commit bfbcdc7420
1 changed files with 1 additions and 1 deletions

View File

@ -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>