Skip to content

Commit b7b3916

Browse files
committed
added plugins to text editor
1 parent 3838553 commit b7b3916

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

blog/texteditor.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
<script src='https://cloud.tinymce.com/stable/tinymce.min.js?apiKey=kgiblty5amr904k4x8fofyo831orwe8z572sj9m9w7ojzimn'></script>
55
<script>
66
tinymce.init({
7-
selector: '#mytextarea'
7+
selector: '#mytextarea',
8+
plugins: ['emoticons', 'image', 'codesample', 'advlist autolink lists link image charmap print preview anchor',
9+
'searchreplace visualblocks code fullscreen',
10+
'insertdatetime media table contextmenu paste code'],
11+
menubar :['insert'],
12+
toolbar: 'undo redo | emoticons | codesample | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
813
});
914
</script>
1015
</head>
@@ -15,7 +20,7 @@
1520
<div class="col-10 col-md-6">
1621
<form action="https://formspree.io/aksh@ritcreativeteam.ml" method="POST">
1722
<br style="clear:both">
18-
<h3 style="margin-bottom: 25px; text-align: center;">Write a post !</h3>
23+
<h1 style="margin-bottom: 25px; text-align: left;">Write a post !</h1>
1924
<div class="form-group">
2025
<input type="text" class="form-control" id="name" name="name" placeholder="Name" required>
2126
</div>

0 commit comments

Comments
 (0)