-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (27 loc) · 780 Bytes
/
index.html
File metadata and controls
37 lines (27 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE HTML>
<html>
<head>
<title>完整demo</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" charset="utf-8" src="editor_config.js"></script>
<script type="text/javascript" charset="utf-8" src="editor_all.js"></script>
<style type="text/css">
.clear {
clear: both;
}
</style>
</head>
<body>
<div>
<script id="editor" type="text/plain">这里可以书写,编辑器的初始内容</script>
</div>
<div class="clear"></div>
</body>
<script type="text/javascript">
//实例化编辑器
var ue = UE.getEditor('editor');
ue.addListener('ready',function(){
this.focus()
});
</script>
</html>