..
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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="template.css">
<link rel="stylesheet" href="../../../Quill/quill.snow.css">
<link rel="stylesheet" href="../../../nativekit/css/all.css">
</head>
<body>
<div class="window">
<header class="titlebar draggable">
<h1 class="window-title">Blank Template</h1>
<div class="toolbars">
<button id="addChapter" title="Add a new chapter" class="button button-default">
<i class="icon nk-plus"></i>
</button>
<div class="button-group">
<button class="button button-default">
<i class="icon nk-ccw"></i>
</button>
<button class="button button-default">
<i class="icon nk-cw"></i>
</button>
</div>
<div id="toolbar-container">
<span class="ql-formats editor-button-group">
<select title="Change Font Style" class="ql-font edit-button editor-button"></select>
<select title="Change Font Size" style="border-top-right-radius: 5px !important; border-bottom-right-radius: 5px !important;" class="ql-size edit-button editor-button"></select>
</span>
<span class="ql-formats editor-button-group">
<button title="Bold" class="ql-bold edit-button editor-button"></button>
<button title="Italic" class="ql-italic edit-button editor-button"></button>
<button title="Underline" class="ql-underline edit-button editor-button"></button>
<button title="Strikethrough" class="ql-strike edit-button editor-button"></button>
</span>
<span class="ql-formats editor-button-group">
<select title="Font Color" class="ql-color edit-button editor-button"></select>
<select title="Font Background Color" style="border-top-right-radius: 5px !important; border-bottom-right-radius: 5px !important;" class="ql-background edit-button editor-button"></select>
</span>
<span class="ql-formats editor-button-group">
<button title="Subscript" class="ql-script edit-button editor-button" value="sub"></button>
<button title="Superscript" class="ql-script edit-button editor-button" value="super"></button>
</span>
<span class="ql-formats editor-button-group">
<button title="Heading 1" class="ql-header edit-button editor-button" value="1"></button>
<button title="Heading 2" class="ql-header edit-button editor-button" value="2"></button>
<button title="Blockquote" class="ql-blockquote edit-button editor-button"></button>
<button title="Insert Code Block" class="ql-code-block edit-button editor-button"></button>
</span>
<span class="ql-formats editor-button-group">
<button title="Insert Ordered List" class="ql-list edit-button editor-button" value="ordered"></button>
<button title="Insert Unordered List" class="ql-list edit-button editor-button" value="bullet"></button>
<button title="Indent Left" class="ql-indent edit-button editor-button" value="-1"></button>
<button title="Indent Right" class="ql-indent edit-button editor-button" value="+1"></button>
</span>
<span class="ql-formats editor-button-group">
<button title="Change Direction: RTL" class="ql-direction edit-button editor-button" value="rtl"></button>
<select title="Change Text Alignment" style="border-top-right-radius: 5px !important; border-bottom-right-radius: 5px !important;" class="ql-align edit-button editor-button"></select>
</span>
<span class="ql-formats editor-button-group">
<button title="Insert Link" class="ql-link edit-button editor-button"></button>
<button title="Insert Image" class="ql-image edit-button editor-button"></button>
<button title="Insert Video" class="ql-video edit-button editor-button"></button>
<button title="Insert Formula" class="ql-formula edit-button editor-button"></button>
</span>
<span class="ql-formats">
<button title="Clean Formatting" class="ql-clean edit-button editor-button"></button>
</span>
</div>
</div>
</header>
<div class="content">
<div class="pane-group">
<div class="pane sidebar pane-normal">
<nav class="nav-group">
<h5 class="title">Chapters</h5>
<div id="chapters"></div>
</nav>
</div>
<div class="pane">
<div class="padded-more">
<div id="editor">
</div>
</div>
</div>
</div>
</div>
</div>
<script>window.$ = window.jQuery = require('jquery');</script>
<script src="../../../scripts/katex.min.js"></script>
<script src="../../../scripts/highlight.min.js"></script>
<script src="../../../Quill/quill.js"></script>
<script src="template.js"></script>
<script>
var quill = new Quill('#editor', {
modules: {
formula: true,
syntax: true,
toolbar: '#toolbar-container'
},
history: {
delay: 2000,
maxStack: 500
},
placeholder: 'Compose an epic...',
theme: 'snow'
});
</script>
</body>
</html>
|
|