-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
43 lines (36 loc) · 1.22 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<meta charset="UTF-8">
<title>TinyMCE 5 Plugin Playground</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css">
<link rel="stylesheet" href="css/main.css">
<script src='https://cloud.tinymce.com/5/tinymce.min.js'></script>
<script>
tinymce.init({
selector: 'textarea',
element_format: 'html',
plugins: 'code help',
external_plugins: {
'matheditor': '/plugins/matheditor/plugin.js'
},
menubar: 'insert help',
menu: {
insert: {title: 'Insert', items: 'matheditor'},
},
height: 400,
toolbar: 'matheditor',
});
</script>
</head>
<body>
<div class="content">
<h1>TinyMCE 5 Math and Chemistry Editor Playground</h1>
<p>A working demo to help developers play with working examples of custom external Math and Chemistry symbols Editor plugins for TinyMCE 5.</p>
<form method="post">
<textarea id="mytextarea"></textarea>
</form>
</div>
</body>
</html>