Allow scripts in post embed previews (#25071)

lolsob-rspec
Claire 2023-05-22 21:18:21 +02:00 committed by GitHub
parent 6e38ffcaee
commit 18361ae0c5
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class EmbedModal extends ImmutablePureComponent {
className='embed-modal__iframe'
frameBorder='0'
ref={this.setIframeRef}
sandbox='allow-same-origin'
sandbox='allow-scripts allow-same-origin'
title='preview'
/>
</div>