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
| <!doctype html>
| <html>
| <head>
| <meta charset="utf-8" />
| <title>With jQuery</title>
| <style>
| form {
| margin: 0;
| }
| textarea {
| display: block;
| }
| </style>
| <script charset="utf-8" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
| <script charset="utf-8" src="../kindeditor-min.js"></script>
| <script charset="utf-8" src="../lang/zh_CN.js"></script>
| <script>
| $(function() {
| var editor = KindEditor.create('textarea[name="content"]');
| });
| </script>
| </head>
| <body>
| <h3>使用jQuery</h3>
| <form>
| <textarea name="content" style="width:800px;height:200px;"></textarea>
| </form>
| </body>
| </html>
|
|