tinymce inits for 4, 5, 6: fine-tuning editor size, 6: formatting fix
--- a/tinymce/4/init.php
+++ b/tinymce/4/init.php
@@ -30,8 +30,10 @@
invalid_styles: 'color,font-size,margin,line-height,font-family,margin-top,margin-bottom',
plugins: 'wordcount emoticons fullscreen anchor code hr image link paste ',
skin: 'lightgray',
- height: 300,
- width: 580,
+ min_height: 200,
+ min_width: 200,
+ height: 250,
+ width: 500,
browser_spellcheck: true,
relative_urls: false,
remove_script_host: false,
--- a/tinymce/5/init.php
+++ b/tinymce/5/init.php
@@ -32,6 +32,7 @@
skin: 'oxide',
min_height: 300,
min_width: 200,
+ height: 350,
width: 500,
toolbar_location: 'top',
browser_spellcheck: true,
--- a/tinymce/6/init.php
+++ b/tinymce/6/init.php
@@ -32,15 +32,16 @@
skin: 'tinymce-5',
min_height: 300,
min_width: 200,
- height: 300,
- width: 580,
+ height: 350,
+ width: 500,
toolbar_location: 'top',
browser_spellcheck: true,
relative_urls: false,
remove_script_host: false,
convert_urls: true,
entity_encoding: 'raw',
- toolbar1: 'bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist | undo redo | fullscreen code | link unlink | emoticons image anchor hr ', image_advtab: true,
+ toolbar1: 'bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist | undo redo | fullscreen code | link unlink | emoticons image anchor hr ',
+ image_advtab: true,
menu: {
file: { title: 'File', items: 'newdocument' },
edit: { title: 'Edit', items: 'undo redo | cut copy paste pastetext | selectall' },