This will probably be fixed in the next version, but on the off chance those people don't know about the bug and they keep an eye on this forum...
If you use a custom CSS and override the indents, like .rteindent1 to be say, 1em instead of 40px, you'll find that they are still 40px in the editor. This is because the FCKeditor module orders the CSS with the module CSS being last. Here's a fix to make it put the module CSS first, and your custom ones second.
From version v 1.20.2.99, make the following edits to fckeditor.module:
Change line 1147 from
to
Change line 1174 from
to
Change line 1180 from
to
Change line 1184 from
to
Change line 1186 from
to
Change line 1190 from
to
Change line 1198 from
to
Enjoy!
-xx,
Clio
PS- does anyone else find it odd that the FCKeditor site doesn't use the FCKeditor for it's forum posts?
If you use a custom CSS and override the indents, like .rteindent1 to be say, 1em instead of 40px, you'll find that they are still 40px in the editor. This is because the FCKeditor module orders the CSS with the module CSS being last. Here's a fix to make it put the module CSS first, and your custom ones second.
From version v 1.20.2.99, make the following edits to fckeditor.module:
Change line 1147 from
$editorcss = "\"";
to
$editorcss = "\"$module_full_path/fckeditor.css";
Change line 1174 from
$editorcss .= implode(",", $css_files) .",";
to
$editorcss .= "," . implode(",", $css_files);
Change line 1180 from
$editorcss .= $host . $color_paths[1] .",";
to
$editorcss .= ",$host$color_paths[1]";
Change line 1184 from
$editorcss .= $host . $color_paths[0] .",";
to
$editorcss .= ",$host$color_paths[0]";
Change line 1186 from
$editorcss .= $module_full_path ."/fckeditor.css\";\n";
to
//$editorcss .= $module_full_path ."/fckeditor.css\";\n";
Change line 1190 from
$js .= $js_id .".Config['EditorAreaCSS'] = \"". $host . $style_css .",". $module_full_path ."/fckeditor.css\";";
to
$js .= $js_id .".Config['EditorAreaCSS'] = \"$module_full_path/fckeditor.css,$host$style_css\";";
Change line 1198 from
$js .= $js_id .".Config['EditorAreaCSS'] = \"". str_replace(array('%h', '%t'), array($host, $host . $themepath), $conf['css_path']) .",". $module_full_path ."/fckeditor.css\";";
to
$js .= $js_id .".Config['EditorAreaCSS'] = \"$module_full_path/fckeditor.css,". str_replace(array('%h', '%t'), array($host, $host . $themepath), $conf['css_path'])."\";";
Enjoy!
-xx,
Clio
PS- does anyone else find it odd that the FCKeditor site doesn't use the FCKeditor for it's forum posts?
Re: Drupal Bug Fix: Reorder CSS so theme overrides module CSS