1. How to make FCKeditor (almost) WYSIWYG
2. How to configure spell checker
When using cutom theme, sometimes it is necessary to tell FCKeditor to use the correct style.
Let's use as example the marinelli theme.
By default, it is hard to create a page with FCKeditor: background color used by site and font color are too similar and it's very hard to read anything, text is aligned to the center:

Fortunately, there is a way to tell FCKeditor to appear just like we expect.
Take a look at the source of marinelli template (you may use Firefox with Firebug to do that). The ID of main element is called "primary". The class is named "singlepage".
All we need to do is to tell FCKeditor to use that styles:
FCKConfig.BodyId = "primary"; FCKConfig.BodyClass = "singlepage";
FCKConfig.EditorAreaStyles = "body{background:#FFFFFF;text-align:left;}";
in newer versions of marinelli theme we may also need to adjust the font size, so if you need to, use the following code instead:
FCKConfig.EditorAreaStyles = "body{background:#FFFFFF;text-align:left;font-size:0.8em}";

FCKConfig.SpellChecker = 'ieSpell' ; //or FCKConfig.SpellChecker = 'SpellerPages' ;More information about ieSpell and Speller Pages / Aspell installation can be found in the FCKeditor documentation.
$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"';In linux:
$aspell_prog = '/usr/bin/aspell';however in some cases this setting should also work:
$aspell_prog = 'aspell';
['Cut','Copy','Paste','PasteText','PasteWord'],and add SpellCheck button at the end:
['Cut','Copy','Paste','PasteText','PasteWord','SpellCheck'],
FCKConfig.FirefoxSpellChecker = true ;to fckeditor.config.js
To see how FCKeditor works, add a comment on the first page.
Please use comments below only to leave your opinion and any other suggestions you might have on the subject.