We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4ef5c5 commit d6a7bc7Copy full SHA for d6a7bc7
utils/editors/html-editor/html/output-html/v2.0/output-html-v2.0.html
@@ -185,8 +185,6 @@
185
186
hldr = $(shadow,'#hldr');
187
iframe = $(shadow,'iframe');
188
- def_sandbox = iframe.getAttribute('sandbox');
189
- sandbox_url = iframe.src;
190
glass = $(shadow,'#glass');
191
192
@@ -278,7 +276,7 @@
278
276
279
277
build.sandbox = function(){
280
281
- var attr = def_sandbox;
+ var attr = iframe_sandbox;
282
//console.log(attr);
283
var tokens = new Set(attr.split(/\s+/).filter(Boolean));
284
@@ -308,7 +306,7 @@
308
306
309
307
iframe.setAttribute('allow',iframe_allow);
310
debug(iframe_allow);
311
- var src = iframe.src;
+ var src = iframe_src;
312
if(chk.isolate.checked){
313
src += '?isolate';
314
}
0 commit comments