We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9245263 commit b3b47feCopy full SHA for b3b47fe
utils/editors/html-editor/html/output-html/v2.0/output-html-v2.0.html
@@ -78,6 +78,7 @@
78
79
var hldr;
80
var iframe;
81
+ var def_sandbox;
82
var glass;
83
84
@@ -112,6 +113,7 @@
112
113
114
hldr = $(shadow,'#hldr');
115
iframe = $(shadow,'iframe');
116
+ def_sandbox = iframe.getAttribute('sandbox');
117
glass = $(shadow,'#glass');
118
119
@@ -158,7 +160,7 @@
158
160
159
161
obj.srcdoc = function(html){
162
- var attr = iframe.getAttribute('sandbox');
163
+ var attr = def_sandbox;
164
console.log(attr);
165
var tokens = new Set(attr.split(/\s+/).filter(Boolean));
166
console.log(chk['allow-scripts']);
0 commit comments