forked from nhn/tui.editor
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample03-jquery.html
More file actions
36 lines (35 loc) · 1.33 KB
/
example03-jquery.html
File metadata and controls
36 lines (35 loc) · 1.33 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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>3. jQuery</title>
<script src="../lib/jquery/dist/jquery.js"></script>
<script src='../lib/markdown-it/dist/markdown-it.js'></script>
<script src="../lib/to-mark/dist/to-mark.js"></script>
<script src="../lib/tui-code-snippet/dist/tui-code-snippet.js"></script>
<script src="../lib/codemirror/lib/codemirror.js"></script>
<script src="../lib/highlightjs/highlight.pack.js"></script>
<script src="../lib/squire-rte/build/squire-raw.js"></script>
<link rel="stylesheet" href="../lib/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="../lib/highlightjs/styles/github.css">
<link rel="stylesheet" href="./explain.css">
</head>
<body>
<div class="explain">
See available options in <a target="_blank" href="../ToastUIEditor.html#ToastUIEditor">here</a>
</div>
<div class="code-html">
<script src="../dist/tui-editor-Editor.js"></script>
<link rel="stylesheet" href="../dist/tui-editor.css">
<link rel="stylesheet" href="../dist/tui-editor-contents.css">
<div id="editSection"></div>
</div>
<script class="code-js">
$('#editSection').tuiEditor({
initialEditType: 'markdown',
previewStyle: 'vertical',
height: '300px'
});
</script>
</body>
</html>