« IE7 Prototype.js and Scriptaculous Error | Main | The Rockies In The World Series? »

October 12, 2007

tinyMCE.baseURL has no properties

I have been using tinyMCE for a while now as a replacement for the now defunct HTMLarea WYSIWYG editor for web pages. The code is fairly straight forward and you can insert a full featured edit box on your we pages in no time at all.

So the other day I was adding tinyMCE to one of my pages and the textarea i was trying to convert to an edit control didn't change and FireFox had this error. "tinyMCE.baseURL has no properties". Very strange indeed.

After hours of endless digging and searching on the web i found that another javascript library that I am using on the page scriptaculous doesn't work well with tinyMCE.

The fix is to have the tinyMCE code pulled in after prototype.js (required by both packages) but before scriptaculous.

Here are a couple writeups I found
tinyMCE forum Discussion
Recipe from Scriptacuous

Posted by Hefe at October 12, 2007 10:51 AM

Comments

Post a comment




Remember Me?