We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b65fd3 commit 7f8e3f4Copy full SHA for 7f8e3f4
1 file changed
utils/editors/html-editor/html/output-html/v2.0/output-html-v2.0.html
@@ -56,6 +56,8 @@
56
<div id=glass></div>
57
</div>
58
59
+ <web-console component></web-console>
60
+
61
</template>
62
63
<script>
@@ -83,7 +85,9 @@
83
85
84
86
//vars:-
87
- var allow_same_origin = false;
88
89
+ var webconsole;
90
91
92
var chk = {};
93
@@ -101,6 +105,12 @@
101
105
102
106
103
107
obj.init = async function(){
108
109
+ await mod.auto();
110
111
+ webconsole = mod['web-console'];
112
113
104
114
}//init
115
116
@@ -125,10 +135,6 @@
125
135
126
136
hldr = $(shadow,'#hldr');
127
137
iframe = $(shadow,'iframe');
128
- if(allow_same_origin){
129
- var attr = iframe.getAttribute('sandbox');
130
- attr += ' allow-same-origin';
131
- }
132
138
def_sandbox = iframe.getAttribute('sandbox');
133
139
glass = $(shadow,'#glass');
134
140
0 commit comments