Edison Wong: How to solve FCKeditor background color conflict with Drupal theme
When working with Drupal theme sometime its body CSS may define as color other than white as below:
body
{
color: #FFF;
background-color: #000;
}
Therefore FCKeditor will inheritance its color within editor area and so break the layout.
Here is a quick workaround. Edit your fckconfig.js (e.g. sites/all/modules/fckeditor//fckeditor/fckconfig.js as below:
FCKConfig.EditorAreaStyles = 'body {color: #000; background-color: #FFF;}' ;
Remember to clean both Drupal and your browser cache. Done.
References:
- سَجل الدخـول لإرسَــال تـَعلـيق.
- Feed: drupal.org aggregator
- اقراءالمصدر
مـواضـيـع ذات صـلـة
- Development Seed: Fast and Simple Color Customization with the World Glass Map Tileset
- مشكلة في تنصيب FCK Editor
- Edison Wong: How to solve Nice Menu hover behind Flash content inserted by FCKeditor
- Oliver Davies: Creating a Garland sub-theme and enabling the Color module
- Ventura Cottage: Themeing tutorial using Color module
- FCKeditor

