TinyMCE (my favourite WYSIWYG editor) comes with a very nice spellchecker plugin. As the supported spellchecking engines were not powerful enough for my needs, I decided to modify the plugin so it supports the enchant library and thus a large number of spellchecking engines.
You can download the EnchantSpell class here. Using it is quite simple:
- Install Enchant and a spellchecking engine of your choice. I prefer Hunspell. (see this post for a guide on how to install the newest versions on Ubuntu 8.4)
- Install TinyMCE and the TinyMCE Spellchecker (both available here)
- Unpack
EnchantSpell.phptotiny_mce/plugins/spellchecker/classes - Add
$config['general.engine']=’EnchantSpell’;totiny_mce/plugins/spellchecker/config.php
That’s it. Have fun
[Update: The class is now included in the official release. So there is no need to download it separately anymore.]







1 Response to “[Updated] TinyMCE spellchecker plugin with enchant library”