Explorar o código

Task #2867 - The online editor: Adding a new configuration option in myconfig.php, so white background in the editing area to be guaranteed for all browsers. See the related forum topic, opened by Wolfgang, http://www.dokeos.com/forum/viewtopic.php?t=29731 .

Ivan Tcholakov %!s(int64=15) %!d(string=hai) anos
pai
achega
938aae40ca
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      main/inc/lib/fckeditor/myconfig.php

+ 3 - 0
main/inc/lib/fckeditor/myconfig.php

@@ -272,6 +272,9 @@ if ((api_get_setting('advanced_filemanager') == 'true')) {
 //$config['FontFormats'] = 'p;h1;h2;h3;h4;h5;h6;pre;address;div';
 $config['FontFormats'] = 'p;h1;h2;h3;h4;h5'; // A reduced format list.
 
+// The following setting guarantees white backgroung for the editing area
+// for all browsers. You may disable or change it if you wish.
+$config['EditorAreaStyles'] = 'body { background-color: #ffffff; }';
 
 /*
  * Additional note: