Configuring A Few FCKeditor Attributes For Drupal 6
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!)
<code>
body
{
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;
}
</code>
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.
- peter's blog
- Add new comment
- 7765 reads

Delicious
Digg
StumbleUpon
Propeller
Reddit
Newsvine
Furl
Facebook
Google
Yahoo
Technorati
Icerocket
Comments
This post on drupal.org might
This post on drupal.org might help. http://drupal.org/node/204242