-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (57 loc) · 1.77 KB
/
index.html
File metadata and controls
67 lines (57 loc) · 1.77 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
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="utf-8">
<title>sEditor</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css"></link>
<style type="text/css" media="screen">
.btn.jumbo {
font-size: 20px;
font-weight: normal;
padding: 14px 24px;
margin-right: 10px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
.project-remark{
font-size: 20px;
}
</style>
</head>
<body>
<div class="container">
<div class="hero-unit" style="margin-top:40px">
<h1 style="font-size:58px">sEditor <small>Simple, tiny, no javascript dependencies editors</small></h1>
<hr/>
<div class="editor" data-placeholder="Enter text ..." style="width: 810px; height: 200px"></div>
</div>
<div class="row">
<div class="col-sm-6">
<h2>About</h2>
<strong class='project-remark'>
sEditor is a tiny (500 lines), no javascript dependencies library makes it easy to create simple wysiwyg editors .
</strong>
<p style="text-align:center; margin-top:20px">
<a class="btn btn-large btn-primary jumbo" href="https://github.com/arnkorty/sEditor/">View project on Github</a>
</p>
</div>
<div class="col-sm-6">
<h2>Usage</h2>
<p>
<pre class="prettyprint linenums lang-js">sEditor('.editor')
</pre>
</p>
<h2>Examples</h2>
</div>
</div>
</div>
<script src="src/seditor.js"></script>
<script src="https://cdn.bootcss.com/prettify/r298/run_prettify.js"></script>
<script>
sEditor('.editor')
</script>
</body>
</html>