-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
35 lines (33 loc) · 1.31 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" media="screen" href="css/bootstrap.css"/>
<link rel="stylesheet" href="js/cleditor/jquery.cleditor.css" type="text/css">
<title>Example usage cleditor-imageupload-plugin</title>
<style type="text/css">
body {
padding: 30px;
}
</style>
<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="js/cleditor/jquery.cleditor.js"></script>
<script type="text/javascript" src="cleditor-imageupload-plugin.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// Url's for plugn
$.cleditor.buttons.image.uploadUrl = 'image-upload.php';
$.cleditor.buttons.image.imageListUrl = 'image-list.php';
//$.cleditor.defaultOptions.width = 600;
//$.cleditor.defaultOptions.height = 300;
$("#desc_editor").cleditor();
});
</script>
</head>
<body>
<div class="container-narrow">
<textarea id="desc_editor" name="desc_editor"></textarea>
</div>
<script src="js/bootstrap.min.js"></script>
</body>
</html>