We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6546fae commit bcd3372Copy full SHA for bcd3372
utils/editors/html-editor/v3.0/html-editor-v3.0.html
@@ -373,6 +373,19 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
373
}//change
374
375
376
+ //:
377
+
378
379
+ window.addEventListener('message',e=>{
380
381
+ var json = e.data;
382
+ if(json.sandbox){
383
+ output.on.message(json);
384
+ }
385
386
+ });
387
388
389
//:
390
391
@@ -505,16 +518,6 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
505
518
}//sandbox
506
519
507
520
508
- window.addEventListener('message',e=>{
509
-
510
- var json = e.data;
511
512
- if(json.sandbox){
513
- output.on.message(json);
514
- }
515
516
- });
517
521
522
523
0 commit comments