Using TinyMCE and Scriptaculous

I’ve been doing a lot of TinyMCE [1] and Scriptaculous [2] integration recently and I noticed that they don’t work together very well. I found this article [3] that explains the problem if you call scriptaculous before TinyMCE then TinyMCE won’t load.

[1] What is TinyMCE?
TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems.
http://tinymce.moxiecode.com/

[2] script.aculo.us provides you with easy-to-use, cross-browser user interface JavaScript libraries to make your web sites and web applications fly.
http://script.aculo.us/

[3] Making them work together
http://wiki.script.aculo.us/scriptaculous/show/TinyMCE

One Response to “Using TinyMCE and Scriptaculous”

  1. Fred writes:

    I actually had the same problem, except the other way around. If I included TinyMCE before Scriptaculous, Scriptaculous stopped working. If I put prototype and scriptaculous before TinyMCE everything seems to work again. Thus I think that the wiki is outdated, or I’m just plenty of lucky. I’m using the latest version of all of the libraries mentioned.