Skip to content

Commit d7c49ad

Browse files
save file
1 parent e60caba commit d7c49ad

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

blog/25-08-25/monaco-editor-setup/monaco-editor-setup.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
var keydown;
5858
var debug;
5959

60+
var hdr;
6061
var snippet;
61-
6262
var log;
6363

6464

@@ -69,14 +69,16 @@
6969
//debug('init',version);
7070
menu = menumod();
7171

72-
72+
hdr = mod['blog-hdr'];
7373
snippet = mod['snippet-html-console'];
7474
log = mod['log-mod'];
7575

76+
hdr.initmod({ext,$});
7677
snippet.initmod({ext,$,menu,ace});
7778
log.initmod({ext,$});
7879

7980
await Promise.all([
81+
hdr.init(),
8082
snippet.init(),
8183
log.init,
8284
]);
@@ -213,7 +215,9 @@ <h1 class=title>
213215

214216
root = rootnode;
215217

216-
218+
219+
hdr.initdom();
220+
217221

218222
snippet.initdom(root);
219223
snippet.console.height = 200;

0 commit comments

Comments
 (0)