forked from summernote/summernote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
167 lines (162 loc) · 8.53 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
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Summernote - Super Simple WYSIWYG editor on Bootstrap</title>
<meta name="description" content="Super Simple WYSIWYG Editor on Bootstrap">
<meta name="author" content="https://github.com/HackerWins">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//twitter.github.io/bootstrap/assets/js/html5shiv.js"></script>
<![endif]-->
<!-- add library -->
<script src="//code.jquery.com/jquery-1.9.1.min.js"></script>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.1/css/bootstrap.min.css" rel="stylesheet">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.1/js/bootstrap.min.js"></script>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
<!-- include (codemirror.css, codemirror.js, xml.js, formatting.js) -->
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.min.css" />
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/theme/monokai.min.css">
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/mode/xml/xml.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/2.36.0/formatting.min.js"></script>
<!-- add summernote -->
<link href="summernote-dist/summernote.css" rel="stylesheet">
<script src="summernote-dist/summernote.min.js"></script>
<!-- add user custom -->
<link href="page.css" rel="stylesheet">
</head>
<body>
<!-- navbar -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="./"><i class="fa fa-sun-o"></i> Summernote</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="features.html">Features</a></li>
<li><a href="example.html">Example</a></li>
<li><a href="history.html">History</a></li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</div>
</div>
<div class="jumbotron">
<h1>Summernote</h1>
<p class="marketing-byline">Super Simple WYSIWYG Editor on Bootstrap</p>
<!-- social badges -->
<p class="marketing-byline">
<!-- Twitter -->
<a href="https://twitter.com/intent/tweet?button_hashtag=summernote" class="twitter-hashtag-button" data-related="hackerwins">Tweet #summernote</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<!-- Google Plus -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<!-- Facebook -->
<a class="fb-like" data-href="http://hackerwins.github.io/summernote" data-send="false" data-layout="button_count" data-width="100" data-show-faces="true" style="display:inline;margin-right:20px;"></a>
<!-- Github Repo-->
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=HackerWins&repo=summernote&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
</p>
<!-- Summernote -->
<div class="summernote container">
<div id="summernote" class="span12"><p></p></div>
</div>
<div class="download"><a href="https://github.com/HackerWins/summernote/archive/master.zip" class="btn btn-primary btn-large">Summernote Master <i class="fa fa-download"></i></a></div>
</div>
<div class="container">
<!-- body -->
<hr class="soften">
<div class="row about">
<div class="col-sm-4">
<h3><i class="fa fa-globe"></i> Worldwide Bootstrap</h3>
<p>Meet the world's best WYSIWYG editor on bootstrap. Summernote support both bootstrap <strong>3.0.x and 2.x.x</strong>.</p>
</div>
<div class="col-sm-4">
<h3><i class="fa fa-file"></i> Easy to Install</h3>
<p>Simply download a zip file and add your html folder with Bootstrap. <a href="features.html#installation">more...</a></p>
</div>
<div class="col-sm-4">
<h3><i class="fa fa-github"></i> Open Source</h3>
<p>Summernote is licensed under MIT and maintained by the community on <a target="_blank" href="https://github.com/hackerwins/summernote">GitHub</a>.</p>
</div>
</div>
<div class="row about">
<div class="col-sm-4">
<h3><i class="fa fa-gear"></i> Customizing</h3>
<p>Customize by Initializing various options. <a href="features.html#api-summernote">more...</a></p>
</div>
<div class="col-sm-4">
<h3><i class="fa fa-keyboard-o"></i> Smart Shortcuts</h3>
<p>Bind your favorite keyboard shortcut easily, We provide default common shortcut. <a href="features.html#keyboard">more...</a></p>
</div>
<div class="col-sm-4">
<h3><i class="fa fa-wrench"></i> Integrate Backend</h3>
<p>Integrate it with any back-end technology. Examples available in nodejs, python, ruby. <a href="features.html#integration">more...</a></p>
</div>
</div>
<hr class="soften">
<div class="row">
<div class="col-sm-6">
<h3><i class="fa fa-cogs"></i> Trend-leading Features</h3>
<ul>
<li>Lightweight (js+css: 58Kb)</li>
<li>Smart User Interaction</li>
<!-- Upcomming Features
<li>Painless File upload</li>
<li>Unobtrusive Integration</li>
<li>Simple Image Manipulation</li>
-->
<li>Safari, Chrome, Firefox, Opera</li>
<li>Internet Explorer 9+ (IE8 support coming soon)</li>
</ul>
</div>
<div class="col-sm-6">
<h3><i class="fa fa-bullhorn"></i> Guys say it's awesome</h3>
<a class="twitter-timeline" height="260" width="640" data-chrome="noheader nofooter" href="https://twitter.com/search?q=summernote" data-widget-id="356967600934240256">"summernote" Tweets</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p><i class="fa fa-sun-o"></i> Summernote v0.4 · Created and Maintained by <a href="https://twitter.com/hackerwins">Alan</a> and <a href="https://twitter.com/soomtong">TJ</a></p>
<p>Based on <a href="http://twitter.github.io/bootstrap/">Bootstrap</a> and <a href="http://jquery.com/">jQuery</a>. Icons from <a href="http://fontawesome.io/">Font Awesome</a>. Theme from <a href="http://bootswatch.com">bootswatch</a>.</p>
<p>Summernote distributed under the MIT license.</p>
<p></p>
<p><a href="https://github.com/HackerWins/summernote">GitHub Project</a> · <a href="https://github.com/HackerWins/summernote/issues">Issues</a></p>
</div>
</footer>
<script type="text/javascript">
$(document).ready(function() {
$('#summernote').summernote({height: 300, codemirror: {
theme: 'monokai'}
});
});
</script>
<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42438082-1', 'github.com');
ga('send', 'pageview');
</script>
</body>
</html>