temporarily remove sandbox
This commit is contained in:
parent
016325be9b
commit
960701942a
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,8 @@ import ReactDOM from 'react-dom';
|
||||||
import escapeStringRegexp from 'escape-string-regexp';
|
import escapeStringRegexp from 'escape-string-regexp';
|
||||||
import 'srcdoc-polyfill';
|
import 'srcdoc-polyfill';
|
||||||
|
|
||||||
|
// sandbox="allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-modals allow-forms"
|
||||||
|
|
||||||
class PreviewFrame extends React.Component {
|
class PreviewFrame extends React.Component {
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
@ -89,7 +91,6 @@ class PreviewFrame extends React.Component {
|
||||||
<iframe
|
<iframe
|
||||||
className="preview-frame"
|
className="preview-frame"
|
||||||
frameBorder="0"
|
frameBorder="0"
|
||||||
sandbox="allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-modals allow-forms"
|
|
||||||
title="sketch output"
|
title="sketch output"
|
||||||
></iframe>
|
></iframe>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue