Spell Checker

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

Michiel 15:34, 8 August 2009 (UTC)

I found the information on the Speller Pages configuration lacking. Sure, you'd need to modify fckconfig.js:

FCKConfig.SpellChecker			= 'SpellerPages';

But now you still don't have a toolbar button for the spell check, hence you can't use it. By default, your Toolbars are also defined in fckconfig.js. The button you need to add is called 'SpellCheck'. Add it to the end of the bottom toolbar:

FCKConfig.ToolbarSets["Full"] = [
	['Bold','Italic','Underline','StrikeThrough','-','OrderedList','UnorderedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','Link','Unlink','-','Image','Rule','-','Undo','Redo','-','Find'],
	'/',
	['FontFormat','FontName','FontSize','-','TextColor','BGColor','RemoveFormat','-','Source','SpellCheck'],
] ;

FCKConfig.ToolbarSets["Simple"] = [
	['Bold','Italic','Underline','StrikeThrough','-','OrderedList','UnorderedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','Link','Unlink','-','Rule','-','Undo','Redo','-','Find'],
	'/',
	['FontFormat','FontName','FontSize','-','TextColor','BGColor','RemoveFormat','-','Source','SpellCheck'],
] ;
Also, if your FCKeditor runs in a Perl-based webapp, or in a Coldfusion site, you need to change
FCKConfig.SpellerPagesServerScript
. By default it is set to php.

You'll need to edit the file you use ( editor\dialog\fck_spellerpages\spellerpages\server-scripts\spellchecker.(php|pl|cfm)) to point to the path where your aspell is installed. By default it points to C:\Program Files\Aspell\bin\aspell.exe so you might want to adjust that if your aspell does not live there or if you're using a platform other than Windows.

And last but not least, the language the spell checker uses is hardcoded in the spellchecker.(php|pl|cfm) files - so you might want to adjust the script to your own language.

Hope this might help someone!

This page was last edited on 8 August 2009, at 16:34.