Spellchecker
Last updated Apr 2nd, 2021 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moreTinyMCE for Revolution doesn't feature spellchecking by default.. or does it?
There is a plugin available for it, and it seems to partially included in the package (this is version 4.1.2-pl). However, to get it working we need to do a little bit more than simply enabling it.
Add the plugin files¶
First thing to do is get the spellchecker plugin from the Moxiecode website. You can find it on this page, download the zip file from the bottom of the page.
Unzip the file to a local directory and load up your favorite FTP editor. Browse to the folder /assets/components/tinymce/jscripts/tiny_mce/plugins/spellchecker/ and you will see that there are a few files already.. but there's a few missing which are essential to use the spellchecker in MODX.
I would advice to backup all files (or just delete them - we shouldn't need them anymore after this) and upload the contents of your unzipped spellchecker folder instead.
If you're running into permission errors while trying to delete and/or upload files, try to chmod the directory to a looser value (0755 or 777), you can do this through the Manager if needed.
Configuring TinyMCE¶
Now login on your manager and go to System -> System Settings and find TinyMCE in the namespace dropdown (see image to the right). You will need to modify two settings:
- Custom Plugins (key: tiny.custom_plugins)
- Custom Buttons Row X (key: tiny.custom_buttonsx)
Add "spellchecker" to the comma-seperated custom plugins list to have TinyMCE load up the spell checker during startup. Also add "spellchecker" to the custom buttons row of your choice.
And now you should be done.
Troubleshooting¶
You will need to clear the browser cache in Internet Explorer to see the result. You will probably need a force refresh for other browsers, too.
See also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more