mikeytown2’s picture

Installation instructions from:

  • aspell/pspell must be installed and working on the server. If it doesn't work, this doesn't work.
  • Unzip the contents of the zip file below in ckeditor/plugins so that you have ckeditor/plugins/aspell
  • If you aren't using PHP, edit aspell/dialogs/aspell.js, locate oSpeller.spellCheckScript and change it as appropriate.
  • Add aspell to your plug-in list, e.g. config.extraPlugins = 'aspell'; or config.plugins += ',aspell';
  • Add SpellCheck to your toolbar somewhere, e.g.
    config.toolbar = [
      [ 'Source', '-', 'Bold','Italic','Underline','-', 'SpellCheck']
mikeytown2’s picture

Status: Active » Needs review
1.8 KB
3.42 KB

Install directions:
Unzip the contents of the zip file in ckeditor/plugins so that you have ckeditor/plugins/aspell

Go to admin/settings/wysiwyg and check the box called "Server Side Spell Check"

Attached the patch & module file because I changed all but 2 lines from it.

mikeytown2’s picture

Title: Add in support for ckeditor » Add in support for ckeditor's aspell plugin
vurt’s picture

Works as expected. Thank you very much!

mikeytown2’s picture

Status: Needs review » Reviewed & tested by the community
iva2k’s picture

Status: Reviewed & tested by the community » Needs work

The patch breaks tinymce spellchecker. On the surface switch-cases don't have break;'s.

iva2k’s picture

Status: Needs work » Needs review

Ok, not a big deal. I've fixed the code and it seams working ok with tinymce. Committed to git 6.x-1.x-dev and ported to 7.x-1.x-dev.

I don't have ckeditor installation handy to check aspell - can anyone verify that 6.x-1.x works with ckeditor?

Once confirmed working, I will push it for new release.

Notes to myself:
1. Need a code verifying proper installation of CKEditor & ASpell
2. Need to disable installation checks if corresponding editor is not installed

whatdoesitwant’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

@Mikeytown2 Re: (#1) According to pspell is not supported any more since PHP 5.3. You need to use on the server. Does this affect aspell? If nobody can confirm, i'll try to find out in october.

crimsondryad’s picture

We need enchant support as well, we're looking at hunspell. The benefit here is that enchant is supposed to seamlessly support multiple libraries with a single set of function calls. We are using ckeditor too...

RdeBoer’s picture

Just to say in response to #8 that using the 7.x-1.x-dev version of this module and following mikeytown2's instructions in #2 ( we got Aspell to run on our Drupal site, which runs PHP 5.3.2 on a Linux-like clone (Ubuntu).
Don't forget to "apt-get install aspell" on the server.

Agree with crimsondryad (#9) that out-of-the-box support for enchant and the numerous editors this brings within reach would be great.

iva2k’s picture

Status: Needs review » Fixed

Well, this was a nice discussion here, but it is getting hard to track. Please open separate issues for every suggested engine. Since the Aspell patch was committed, closing this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.