stnvh / silverstripe-cmsspellchecker
Add TinyMCE Spell checking functionality without having to edit core
Installs: 45
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 4
Type:silverstripe-module
Requires
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2024-11-05 03:37:26 UTC
README
Add TinyMCE spell checker support without having to edit core. Uses the config API to set options.
Tested and working on versions 3.1 down to 2.4.
By Stan Hutcheon - Bigfork Ltd
Installation:
Composer:
composer require "stnvh/silverstripe-cmsspellchecker" "~1"
Download:
Clone this repo into a folder called cmsspellchecker
in your silverstripe installation folder.
Usage:
This assumes you have pspell installed or the aspell binary installed on your webserver.
If you have the pspell module installed it should work straight away.
If you have just the binary installed, then you'll need to add something like below to mysite/_config/config.yml
:
CMSSpellChecker: engine: 'PSpellShell' shell: '/usr/local/bin/aspell'
For pre Silverstripe 3.0, set config via method calls:
mysite/_config.php:
CMSSpellChecker::set_engine('PSpellShell'); CMSSpellChecker::set_shell('/usr/local/bin/aspell');
Options:
engine:
- PSpell (default)
- PSpellShell
- EnchantSpell
shell:
- (used with PSpellShell, specifies where aspell is located on the server, default
/usr/bin/aspell
)
After installing via composer, you must /dev/build