Skip to content

Commit c15b5fa

Browse files
save file
1 parent 0aa0a31 commit c15b5fa

1 file changed

Lines changed: 19 additions & 15 deletions

File tree

utils/editors/srcdoc/v2.0/srcdoc-v2.0.html

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</script>
4141

4242

43-
<script src='https://libs.ext-code.com/js/dom/component/v3.0/component.js'></script>
43+
<script src='https://libs.ext-code.com/js/dom/component/v3.0/component.js?hdr'></script>
4444

4545
<script init>
4646
console.clear();
@@ -61,15 +61,9 @@
6161
var menu;
6262

6363

64-
async function init(){
64+
async function ready(){
6565
debug('init',version);
66-
menu = menumod();
67-
68-
mod.base.add({ext,$,datatype,keydown,menu,menumod});
69-
70-
71-
await initdom(document.body);
72-
66+
await initdom();
7367

7468
}//init
7569

@@ -81,14 +75,9 @@
8175
({ext} = await import('https://libs.ext-code.com/js/io/ext-loader/ext-loader.m.js'));
8276

8377
var promise = ext.load.libs(
84-
'js/dom/$.js',
85-
'js/core/datatype.js',
86-
'js/dom/menumod/menumod.js',
87-
'js/dom/keydown/keydown.js',
88-
'js/debug/debug.js',
8978
'js/io/github/github.js',
9079
);
91-
[$,datatype,menumod,keydown,debug,github] = await promise;
80+
[github] = await promise;
9281

9382
mod.stack.complete;
9483

@@ -137,10 +126,25 @@
137126

138127
<body>
139128

129+
130+
<editors-hdr v2.0 component=grp>
131+
<img slot=title src='images/srcdoc.png' style='top:-5px;height:55px' alt='html editor'>
132+
<h1 slot=seo-hdr class=visually-hidden>
133+
html editor
134+
</h1>
135+
136+
<time slot=date datetime=2026-04-23>
137+
23 Apr 2026
138+
</time>
139+
140+
</editors-hdr>
141+
142+
140143
<div id=url-root>
141144
<img class='copy icon'>
142145
<img class='paste icon'>
143146
<input id=url autocomplete=off spellcheck=false>
147+
144148
<input type=button value=go>
145149

146150
</div>

0 commit comments

Comments
 (0)