Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I can't find how to activate the spellchecker and/or the line break features in TinyMCE. I have TinyMCE version 3.2.1.1 installed. What folder should the plugin files be in? And how are they activated? I don't see a checkbox. Thanks in advance.
Comments
Comment #1
sunAre those internal plugins that ship with the TinyMCE default package?
Comment #2
spiffyd CreditAttribution: spiffyd commentedDidn't see this thread but I have the solution. Looks like all my experimentation with the deprecated TinyMCE module paid off! I simply ported all my tweaks to the plugins there to this module and they all worked like a charm. Check this thread out for the code and working plugins...
http://drupal.org/node/350480#comment-1177241
Comment #3
spiffyd CreditAttribution: spiffyd commentedI'll be happy to follow up on this issue as I use these break, spellcheck, (and media) plugins ALL THE TIME.
Comment #4
sunYour monologue indicates that those plugins/buttons are internal ones, so this is effectively a duplicate of #328252: Handle compatibility of internal plugins via plugin API.
Please do not follow-up further on this issue. Thanks.
Comment #5
brisath CreditAttribution: brisath commentedRegarding #1, the Spellcheck and Line Break plugins appear to be in place from the downloaded package at tinymce/jscripts/tiny_mce/plugins/
Comment #6
spiffyd CreditAttribution: spiffyd commentedYes those plugins ship with the internal package, but for some reason, they may not work with this module. I've had the same problem when using the TinyMCE module as well. The solution to the problem requires modifications of the plugins script. These two plugins I've attached in the link in #2 are actually plugins I've dug up from deprecated TinyMCE project threads awhile back and are modified from the internal version.
So in short - internal spellcheck and drupal break plugins didn't work for me. These modified ones did work.
This issue is NOT necessarily a duplicate of the #328252 thread.
Comment #7
brisath CreditAttribution: brisath commentedThanks. I'll try out those 2 plugin directories you provided. Can you verify how the drupalbreak directory is installed and activated in WYSIWYG.
Comment #8
spiffyd CreditAttribution: spiffyd commentedHow to install drupalbreak...
1. Overwrite the internal drupalbreak plugin directory with my "working" version.
2. Open tinymce.inc and add this array to the code:
3. Open TinyMCE settings in WYSIWYG, two Drupalbreak options should show - one for page break, one for teaser break. Select one or both.
4. The plugin should now show up on the toolbar!
Comment #9
brisath CreditAttribution: brisath commentedThanks for all the help. Works great now.
Just in case anyone else wants to see it here, the code I used for spellcheck in tinymce.inc was:
Comment #10
iva2k CreditAttribution: iva2k commentedJust to let people know - I've created Wysiwyg SpellCheck module that enables TinyMCE spellchecker plugin. It may be just what you need.