Skip to content

Commit 8defe62

Browse files
save file
1 parent 1655957 commit 8defe62

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<html>
2+
<head>
3+
<script src='https://libs.ext-code.com/js/dom/component/component.js'></script>
4+
<script>
5+
var editor;
6+
7+
async function init(){
8+
9+
editor = mod['web-editor'];
10+
editor.initmod({});
11+
await editor.init();
12+
editor.initdom();
13+
}//init
14+
15+
</script>
16+
</head>
17+
<body>
18+
<web-editor component style='height:100px'>
19+
helloworld
20+
</web-editor>
21+
</body>
22+
</html>

0 commit comments

Comments
 (0)