forked from kindsoft/kindeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit.html
More file actions
61 lines (61 loc) · 1.69 KB
/
edit.html
File metadata and controls
61 lines (61 loc) · 1.69 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>KindEditor Edit Test</title>
<link rel="stylesheet" href="../lib/qunit/qunit.css" />
<link rel="stylesheet" href="../themes/default/default.css" />
<style>
textarea {
display: block;
width: 600px;
height: 200px;
}
.ke-edit-iframe {
border: 1px solid #A0A0A0;
}
</style>
<!-- <script src="../lib/firebug-lite/build/firebug-lite.js#startOpened"></script> -->
<script src="../lib/qunit/qunit.js"></script>
<script src="../lib/jquery.min.js"></script>
<!-- include src files -->
<script src="../src/core.js"></script>
<script src="../src/config.js"></script>
<script src="../src/event.js"></script>
<script src="../src/html.js"></script>
<script src="../src/selector.js"></script>
<script src="../src/node.js"></script>
<script src="../src/range.js"></script>
<script src="../src/cmd.js"></script>
<script src="../src/widget.js"></script>
<script src="../src/edit.js"></script>
</head>
<body>
<h1>KindEditor Edit Test</h1>
<div id="edit"></div>
<textarea name="content" cols="100" rows="20">
<p>测试</p>
<p><span style="font-size:32px;"><strong><strong>测试abc</strong>e</strong>fg</span></p>
<p>测试</p>
<p>测试</p>
<p>测试</p>
<p><span style="font-weight:bold;">测试</span></p>
<p>测试</p>
<p>测试</p>
<p>测试</p>
<p>测试</p>
<p>测试</p>
<p>测试</p>
<p>测试</p>
<p>测试</p>
</textarea>
<br />
<div id="cmdArea"></div>
<br />
<br />
<input type="button" id="design" value="Design Mode" />
<input type="button" id="source" value="Source Mode" />
<input type="button" id="toggle" value="Toggle Mode" />
<script src="edit.js"></script>
</body>
</html>