Browse code

Update tinyMCE 6 init.php

Clarissa Walker authored on 2026/09/07 15:13:21
Showing 1 changed files
... ...
@@ -1,12 +1,12 @@
1 1
 <?php
2 2
 $image_list_path = STORIESPATH . "/" . USERUID . "/images/imagelist.js";
3
-$image_list_exists = file_exists($image_list_path); 
4
- 
3
+$image_list_exists = file_exists($image_list_path);
4
+
5 5
 if (USERUID && $image_list_exists)
6 6
 {
7 7
 echo "
8 8
 <script src='".STORIESPATH . "/" . USERUID . "/images/imagelist.js"."'></script>";
9
-} 
9
+}
10 10
 echo "
11 11
 	<script language=\"javascript\" type=\"text/javascript\"><!--";
12 12
 	$tinylanguage = $language;
... ...
@@ -32,10 +32,11 @@ echo "
32 32
 		skin: 'tinymce-5',
33 33
 		min_height: 300,
34 34
 		min_width: 200,
35
+		height: 300,
35 36
 		width: 580,
36 37
 		toolbar_location: 'top',
37 38
 	    browser_spellcheck: true,
38
-		relative_urls: true,
39
+		relative_urls: false,
39 40
 		remove_script_host: false,
40 41
     	convert_urls: true,
41 42
 		toolbar1: 'bold italic underline strikethrough | alignleft aligncenter alignright alignjustify | bullist | undo redo | fullscreen code | link unlink | emoticons image anchor hr ',	image_advtab: true,