forked from summernote/summernote
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
48 lines (47 loc) · 1.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Summernote</title>
<!-- include jQuery -->
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
<!-- initialize Summernote -->
<script type="module" src="src/styles/lite/summernote-lite.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.summernote').summernote({
height: 400,
tabsize: 2
});
});
</script>
<style type="text/css">
body {
margin: 0 auto;
max-width: 900px;
font-family: sans-serif;
}
</style>
</head>
<body>
<h1>Summernote</h1>
<div class="summernote">
<ul>
<li>Lorem ipsum dolor</li>
<li>justo duo dolores et ea rebum. Stet clita kasd gubergren</li>
<li>sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua</li>
<li>At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren</li>
</ul>
<p>Summernote is a JavaScript library that helps you create WYSIWYG editors with a simple and easy-to-use interface.</p>
<p>Summernote is licensed under MIT and maintained by the community.</p>
</div>
<div>
<a href="/examples/summernote-bs3.html">bs3</a>
<a href="/examples/summernote-bs4.html">bs4</a>
<a href="/examples/summernote-bs5.html">bs5</a>
<a href="/examples/summernote-sm.html">sm</a>
<a href="/examples/">examples</a>
</div>
</body>
</html>