Skip to content

Commit 8fd2bc4

Browse files
save file
1 parent cae9dc5 commit 8fd2bc4

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

html-components/list/web-editor/web-editor.html

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020

2121
<meta>
2222
<link rel=icon href=''>
23+
2324

25+
<script src='https://ajaxorg.github.io/ace-builds/src-noconflict/ace.js'></script>
2426

2527
<script src='https://libs.ext-code.com/js/dom/component/component.js'></script>
2628

@@ -34,6 +36,8 @@
3436
var df=true,did='html'
3537
;
3638

39+
var ace;
40+
3741
var ext,$,datatype,keydown,menumod
3842
;
3943

@@ -42,9 +46,34 @@
4246
var hdr;
4347
var log;
4448

49+
var latest;
4550

4651

4752
async function init(){
53+
54+
var menu = menumod();
55+
56+
hdr = mod['html-component-hdr'];
57+
log = mod['log-mod'];
58+
59+
latest = mod['latest'];
60+
61+
62+
hdr.initmod({ext,$,menu});
63+
log.initmod({ext,$});
64+
65+
latest.initmod({ext,$,menu,ace});
66+
67+
68+
await Promise.all([
69+
hdr.init(),
70+
log.init(),
71+
latest.init(),
72+
]);
73+
74+
75+
initdom();
76+
4877
}//init
4978

5079

@@ -74,6 +103,13 @@
74103

75104
<body>
76105

106+
<html-components-hdr v2.0 component=grp2>
107+
<img class=title src='images/html-components.png' style='top:-5px;height:80px' alt='deploy cloud run service'>
108+
<time slot=date datetime=2025-11-08>08 Nov 2025</time>
109+
</html-components-hdr>
110+
111+
112+
77113
<div class=description>
78114

79115
The web-editor component produces an editor in the webpage
@@ -84,7 +120,7 @@
84120

85121
</code>
86122

87-
<web-editor component id=mod src=''></web-editor>
123+
<web-editor component id=latest src='https://libs.ext-code.com/html/web-editor/web-editor.html'></web-editor>
88124

89125

90126
</body>
@@ -94,6 +130,12 @@
94130

95131

96132
function initdom(){
133+
134+
hdr.initdom();
135+
log.initdom();
136+
137+
latest.initdom();
138+
97139
}//initdom
98140

99141
//:

0 commit comments

Comments
 (0)