« ColdFusion IsDate() gotcha | ColdFusion tip: Dynamic column names in ValueList() »

April 1, 2008

ColdFusion spellchecker plugin for TinyMCE 3.0

We use TinyMCE as a WYSIWYG editor for our CMS at work. Version 3.0 of TinyMCE was recently released in which most of the application has been rewritten. Because of this rewrite, any plugins written for version 2.x have to be updated to be compatible with version 3.

The main third-party plugin that we use is a spellchecker plugin for ColdFusion servers. Since the plugin hasn't been updated, I took it upon myself to port the PHP spellchecker plugin provided with TinyMCE 3.0 to ColdFusion.

My ColdFusion spellchecker plugin is a complete port of the PHP plugin and supports both the Google spellchecker and Pspell/Aspell engines.

[Download the TinyMCE 3.0 ColdFusion spellchecker plugin]

Posted at 10:33 AM in ColdFusion

Comments

1. joshua says:

I stayed away from tinyMCE in the past as their file and image browsers didn't support CF. With the new release is there better support in that regard or any new plugins?

Posted on April 1, 2008 at 11:26 AM

2. Richard Davies says:

No, there still aren't any official file/image browser plugins for ColdFusion. There might be some unofficial ones, but I haven't checked. I ended up writing my own as we just needed a very simple way to upload images.

Posted on April 2, 2008 at 9:38 AM

3. Geoff Bowers says:

Looks great! What license have you released this under? We'd be interested in integrating this as part of the FarCry Core framework.

The FarCry formtools engine is a great example of CF integration with tinyMCE, including file library and image integration. Would be great to be able to add a spell checker as part of the standard distribution.

Posted on April 2, 2008 at 4:09 PM

4. Richard Davies says:

@ Geoff Bowers
I'm basically "donating" the plugin to the TinyMCE community. So do whatever you'd like to with it.

Posted on April 2, 2008 at 6:30 PM

5. jared says:

I was kind of concerned about not having a file browser and image management in TinyMCE. However, I did find a link to someone that says they wrote a file manager specifically for TinyMCE. I'm checking it out. You can find it here.

http://www.cjboco.com/index.cfm/2007/6/27/A-ColdFusion-ImageFile-Browser-for-TinyMCE

Posted on July 31, 2008 at 7:59 AM

6. Andy Bellenie says:

Where can this be downloaded? Been searching through SourceForge but I can't see the package anywhere...

Thanks!

Posted on March 9, 2009 at 11:22 AM

7. Richard Davies says:

The download link is toward the bottom of the SourceForge page under the 'attached files' heading and right above the 'changes' section.

Posted on March 9, 2009 at 11:35 AM

8. Michael says:

Just downloaded it from SourceForge and the ZIP file is asking me for a password, but I didn't see one anywhere. Help? Thanks.

Posted on May 21, 2009 at 11:00 AM

9. Richard Davies says:

Michael,

There is no password on the ZIP file. Try it again.

Posted on May 26, 2009 at 8:49 AM

10. Richard Davies says:

Michael,

There is no password on the ZIP file. Try it again.

Posted on May 26, 2009 at 8:49 AM

11. Richard Davies says:

Michael,

There is no password on the ZIP file. Try it again.

Posted on May 26, 2009 at 8:49 AM

12. Doug says:

I just released version 3.0 of my CJ File Browser for ColdFusion. It’s free and I tried to make it so you can either modify or delve into the code to figure out how to make your own. Even though it was designed for ColdFusion, you could easily modify it to swap out the ColdFusion engine (It’s uses a ColdFusion Component (CFC) to handle the file management, but the front-end interface is using AJAX calls through JavaScript). Here’s a brief list of all the features:

* jQuery is handling all of the interface and controls.
* A ColdFusion component (CFC) is handling all of the file management. (You could easily port this to something else)
* An XML file is being used to handle security restrictions.
* CSS is used to handle the look & feel
* TinyMCE can be initiated with variables that are passed to CJ File Browser.
* You can now use it in Standalone mode (you’ll need to tweak the code a bit)

Hope you like. You can get it by visiting the project page here: http://www.cjboco.com/projects.cfm/project/cj-file-browser/

Posted on March 26, 2010 at 9:52 AM

13. walt says:

I'm not sure what I'm doing wrong, but even after following directions to the "T", this doesn't work.
I just get an alert titled "Error Response" with the list of words that were being submitted to check for correct spelling...
Did I overlook something simple?

Posted on May 26, 2011 at 2:03 PM

14. Richard Davies says:

Have you tried using something like Firebug to monitor the Ajax requests and see if that gives you a clue what's going wrong?

Posted on May 27, 2011 at 12:31 PM

15. walt says:

What I've found is something is breaking when the code is trying to fire off the "getSuggestions" js function in "editor_plugin.js".
It looks like when getting the form.json_data from GetHttpRequestData, checkWords works fine, but it halts at that point.
Not seeing anything in Firebug as of yet.
(As a sidenote, this works fine when testing completely by itself; when using inside our corporate web app, it does this)

Posted on May 27, 2011 at 1:01 PM

16. walt says:

Welp, found the issue.
In our code we're appending something to every document that is served up.
I was able to tweak it.
Your plugin is a life saver! Thank you!

Posted on May 27, 2011 at 1:12 PM