Skip to content

Commit 1038528

Browse files
save file
1 parent ad4e295 commit 1038528

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/editors/js-console/html/output-console/v2.0/output-console-v2.0.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@
341341
<head>
342342
343343
<script type=module>
344+
344345
window.addEventListener('message',async({data})=>{
345346
346347
var {js} = data;
@@ -366,8 +367,8 @@
366367

367368
iframe = document.createElement('iframe');
368369
obj.iframe = iframe;
369-
iframe.style.display = 'none';
370-
iframe.sandbox = 'allow-scripts allow-same-origin';
370+
//iframe.style.display = 'none';
371+
//iframe.sandbox = 'allow-scripts allow-same-origin';
371372
var blob = new Blob([html],{type:'text/html'});
372373
var url = window.URL.createObjectURL(blob);
373374
iframe.src = url;

0 commit comments

Comments
 (0)