diff --git a/client/modules/IDE/components/PreviewFrame.jsx b/client/modules/IDE/components/PreviewFrame.jsx index 17d52362..242f59c3 100644 --- a/client/modules/IDE/components/PreviewFrame.jsx +++ b/client/modules/IDE/components/PreviewFrame.jsx @@ -344,7 +344,7 @@ class PreviewFrame extends React.Component { frameBorder="0" title="sketch output" ref={(element) => { this.iframeElement = element; }} - sandbox="allow-scripts allow-pointer-lock allow-popups allow-forms allow-modals" + sandbox="allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms allow-modals" /> ); }