Reply to comment

Configuring A Few FCKeditor Attributes For Drupal 6

Sat, 01/03/2009 - 15:08 - peter | |

Because I chose the deco theme for this website, the default background color is black for any css object that does not set its own colors.  When I installed FCKEditor, I was squinting at the screen, unable to see what I was typing.  So I became intent on Configuring A Few  FCKeditor Attributes For Drupal 6... First I found a helpful web-page about Tricks for Drupal and FCKeditor.  Of course, I'm not using the marinelli theme, so I had a slightly different situation.  I did not want to completely force FCKeditor for all installed profiles (I run multiple drupal 6 sites using the same /sites/all directory).  What I did that worked is slightly different from what was recommended in the tricks page.  In the CSS section, I set Editor CSS and Predifined styles to "FCKeditor default".  Then I modified my file sites/all/modules/fckeditor/fckeditor/editor/css/fck_editorarea.css modifying the background color, font, and font size (I like to have big fonts for editing by default!)

        background-color: #cccccc;
        padding: 5px 5px 5px 5px;
        margin: 0px;

body, td
        font-family: Verdana,"Bitstream Vera Sans",Arial,Helvetica,sans-serif;
        font-size: 24px;


After that, I cleared the cache using the devel module, cleared the cache from admin/settings/performance for good measure, cleared the cache in my browser, and it worked.

I would have rather just added the CSS code to the FCKeditor profile window.  If that is possible, please add a comment explaining how it is done.



The content of this field is kept private and will not be shown publicly.
This question is for clevery testing whether you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.