-
Notifications
You must be signed in to change notification settings - Fork 0
/
editor.html
46 lines (41 loc) · 1.55 KB
/
editor.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
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="/css/editor.css">
<script src="tinymce/tinymce.min.js" referrerpolicy="origin"></script>
<script src="js/editor.js"></script>
<script>
tinymce.init({
selector: '#mytextarea',
height: 500,
plugins: [
'advlist', 'autolink', 'link', 'image', 'lists', 'charmap', 'preview', 'anchor', 'pagebreak',
'searchreplace', 'wordcount', 'visualblocks', 'visualchars', 'code', 'fullscreen', 'insertdatetime',
'media', 'table', 'emoticons', 'template', 'help', 'quickbars',
],
toolbar: 'insertfile undo redo | styles | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media | forecolor backcolor emoticons | quickimage ',
menu: {
favs: { title: 'My Favorites', items: 'code visualaid | searchreplace | emoticons' }
},
menubar: 'favs file edit view insert format tools table help',
content_css: 'css/content.css',
});
</script>
</head>
<body>
<h1 class="head">Write Your Thoughts</h1>
<form action="post">
<textarea id="mytextarea">Hello, World!</textarea>
</form>
<div class="publish">
<div class="publish-btn">
<a href="" class="btn"> Publish Now </a>
</div>
</div>
<div class="blog" ></div>
</body>
</html>