Prechádzať zdrojové kódy

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 15 rokov pred
rodič
commit
938aae40ca
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  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: