Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Looking at this as a guide
http://cksource.com/forums/viewtopic.php?p=51193#p51193
Comment | File | Size | Author |
---|---|---|---|
#2 | wysiwyg_spellcheck-ckeditor-aspell-1153466-2.patch | 3.42 KB | mikeytown2 |
#2 | wysiwyg_spellcheck.module.txt | 1.8 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedInstallation instructions from: http://cksource.com/forums/viewtopic.php?p=40830#p40830
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commentedInstall 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.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedComment #4
vurt CreditAttribution: vurt commentedWorks as expected. Thank you very much!
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedComment #6
iva2k CreditAttribution: iva2k commentedThe patch breaks tinymce spellchecker. On the surface switch-cases don't have break;'s.
Comment #7
iva2k CreditAttribution: iva2k commentedOk, 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
Comment #8
whatdoesitwant CreditAttribution: whatdoesitwant commented@Mikeytown2 Re: (#1) According to http://nl2.php.net/pspell pspell is not supported any more since PHP 5.3. You need to use http://nl2.php.net/enchant on the server. Does this affect aspell? If nobody can confirm, i'll try to find out in october.
Comment #9
crimsondryad CreditAttribution: crimsondryad commentedWe 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...
Comment #10
RdeBoerJust 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 (http://drupal.org/node/1153466#comment-4452316) 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.
Comment #11
iva2k CreditAttribution: iva2k commentedWell, 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.