-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
37 lines (37 loc) · 1.37 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>words | demo</title>
<link rel="stylesheet" href="style.css">
<script src="dist/words.js"></script>
</head>
<body>
<div id="container">
<h1>Words</h1>
<div id="toolbar">
<button data-custom-action="b">BOLD</button>
<button data-custom-action="i">ITALIC</button>
<button data-custom-action="u">UNDER</button>
<!--<button data-action="strikethrough">STRIKE</button>
<button data-action="superscript">SUPER</button>
<button data-action="subscript">SUB</button>
<button data-action="insertorderedlist">OL</button>
<button data-action="insertunorderedlist">UL</button>
<button data-action="indent">IN</button>
<button data-action="outdent">OUT</button>
<button data-action="justifyLeft">LEFT</button>
<button data-action="justifyCenter">CENTER</button>
<button data-action="justifyRight">RIGHT</button>
<button data-action="justifyFull">FULL</button>
<button data-action="removeFormat">RESET</button>-->
</div>
<div class="editable"><p>Words are fun</p></div>
</div>
<div id="tree-ux"></div>
<div id="log"></div>
<script>
var editor = new Words('.editable');
</script>
</body>
</html>