Skip to content

Commit bcd3372

Browse files
save file
1 parent 6546fae commit bcd3372

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

utils/editors/html-editor/v3.0/html-editor-v3.0.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,19 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
373373
}//change
374374

375375

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+
376389
//:
377390

378391

@@ -505,16 +518,6 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
505518
}//sandbox
506519

507520

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-
518521

519522
//:
520523

0 commit comments

Comments
 (0)