WYSIWYG + TinyMCE + TinyMCE spellchecker plugin

Events happening in the community are now at Drupal community events on www.drupal.org.
parahumanoid's picture

Hi.

I would greatly appreciate input on the following:
I installed the WYSIWYG module (6.x-2.0) and a TinyMCE library.
I also unpacked the TinyMCE spellchecker plugin into the plugins folder withing the "libraries/tinymce" path
I tried following the instructions for installing the spellchecker located at http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker, but I got stuck where it says (number 6) to add spellchecker to the list of plugins in the tinyMCE configuration. I didn't find anything similar to a config file to add this to.

How can I add the spellchecker module so that the button becomes accessible in the tinyMCE profile in Drupal?

Thank you for your input.

Alex.

Comments

That did the trick

parahumanoid's picture

Yup, that did the trick.
Thank you so much.

Alex.

How could we get this working for D5?

ericpugh's picture

Anybody, know how this could work for Drupal 5? Seems like WYSIWYG for both 5 and 6 uses hook_wysiwyg_plugin. What else has to be done?

wysiwyg_spellcheck D5

ericpugh's picture

Okay. I've make a couple of tiny changes, and the Wysiwyg_spellcheck module seems to work fine for Drupal 5.
Basically, the hook_help changed a bit in D6. http://api.drupal.org/api/function/hook_help
Also, I was getting a fatal error after installing the module when viewing a node:

Call to undefined function drupal_get_path()

so I put an check around drupal_get_path. (which is talked about in several posts in the forums)

if (function_exists('drupal_get_path')) {
     $path = drupal_get_path('module', 'wysiwyg_spellcheck');
  }

Here on D5

moksa's picture

Hi,

here on D5.20 it's not working with this D6 module.

I've the speelcheck button in the admin, but not on new node page, and no error ?!.

++

my fault

moksa's picture

need 1.05 version with tiny 2.1.3

but..

liquidcms's picture

hey, just starting to learn w-api and setting it up and i also required tiny spellcheck - but surprised to see this is a module to do this - does this mean we need a custom module for every plugin we add?

i vaguely recall that all i had to do was add a line to tiny config file (which can't for the life of me find now) to add plugins,

A single module can 'wrap'

twod's picture

A single module can 'wrap' any number of native plugins and/or implement any number of Drupal plugins. Which is why I hope we will some day have a module (or maybe a part of Wysiwyg module itself) which sort of automates that process to some degree. It could scan a directory and look up the basic information needed to enable any plugins it finds there. Maybe the Libraries API module could help with that.

When the issue about allowing advanced editor settings to be configured via the GUI, it might also be possible to register plugins for some editors that way.

Wysiwyg

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: