Jump to main content Jump to doc navigation

Spellchecker

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

TinyMCE 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:

  1. Custom Plugins (key: tiny.custom_plugins)
  2. 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.