File tree Expand file tree Collapse file tree
utils/editors/html-editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 206206 < img slot =title src ='images/html-editor.png ' style ='top:-5px;height:55px ' alt ='html editor '>
207207 < h1 slot =seo-hdr class =visually-hidden > html editor</ h1 >
208208 < h4 slot =version > v3.0</ h4 >
209- < time slot =date datetime =2026-01-24 > 24 Jan 2026</ time >
209+ < time slot =date datetime =2026-05-03 >
210+ 3 May 2026
211+ </ time >
210212 </ editors-hdr >
211213
212214
@@ -240,7 +242,7 @@ <h4 slot=version>v3.0</h4>
240242
241243 < div id =page-slider style ='width:10px;cursor:ew-resize '> </ div >
242244
243- < output-html component =page > </ output-html >
245+ < output-html v2.0 component =page > </ output-html >
244246
245247 </ div >
246248
@@ -294,6 +296,7 @@ <h4 slot=version>v3.0</h4>
294296
295297 focus ( ) ;
296298
299+
297300 } //initdom
298301
299302
@@ -525,8 +528,10 @@ <h4 slot=version>v3.0</h4>
525528 //:
526529
527530
528- function run ( ) {
529- debug ( 'run' ) ;
531+ var run = { } ;
532+
533+ run . srcdoc = function ( ) {
534+ debug ( 'run.srcdoc' ) ;
530535 if ( autosave . checked ) {
531536 debug ( 'autosave' ) ;
532537 filemod . save ( ) ;
@@ -541,6 +546,11 @@ <h4 slot=version>v3.0</h4>
541546
542547 run . sandbox = function ( ) {
543548 debug ( 'run.sandbox' ) ;
549+ if ( autosave . checked ) {
550+ debug ( 'autosave' ) ;
551+ filemod . save ( ) ;
552+ }
553+
544554 var html = editor . getValue ( ) ;
545555 output . sandbox ( html ) ;
546556
You can’t perform that action at this time.
0 commit comments