-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·29 lines (29 loc) · 1.4 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
<doctype html>
<html>
<head>
<title>Sentimony Demo</title>
</head>
<body>
<textarea id="tiny">
<p>Go ahead and type something like, <p>
<blockquote>This is a thousand monkeys working at a thousand typewriters. Soon they’ll have written the greatest novel known to man. Let’s see. 'It was the best of times, it was the “blurst” of times!' You stupid monkey!</blockquote>
<p>then click on the "😀" or "😞" in the bottom right to view the sentiment analysis.</p>
</textarea>
<p style="text-align:center"><a href="https://github.com/thedannywahl/sentimony">Get Sentimony</a></p>
<script src="https://cloud.tinymce.com/4/tinymce.min.js?apiKey=hyr4pz6958k872n6z2yvu2e3foqk15i57ggcfx8tvb3wloxu"></script>
<script src="https://cdn.jsdelivr.net/gh/thedannywahl/sentimony@master/dist/sentimony/plugin.min.js"></script>
<script>
tinymce.init({
selector: 'textarea',
menubar: false,
height: 500,
plugins: [
'sentimony advlist autolink lists link image charmap print preview anchor textcolor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table paste code help'
],
toolbar: 'undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help',
});
</script>
</body>
</html>