diff --git a/client/modules/IDE/components/PreviewFrame.js b/client/modules/IDE/components/PreviewFrame.js index a7fd872a..9d505e51 100644 --- a/client/modules/IDE/components/PreviewFrame.js +++ b/client/modules/IDE/components/PreviewFrame.js @@ -3,55 +3,74 @@ import ReactDOM from 'react-dom'; import escapeStringRegexp from 'escape-string-regexp'; import srcDoc from 'srcdoc-polyfill'; -const hijackConsoleScript = ``; + `; +} class PreviewFrame extends React.Component { @@ -146,7 +165,10 @@ class PreviewFrame extends React.Component { htmlFile = htmlFile.replace(/(?: