TinyMCE and Scriptaculous – Grr

Thought I’d post this as a reminder, having spent an hour staring at web page source code wondering why TinyMCE wasn’t turning my textarea in a full editor for non-technical staff to use.

It seems that if you use Scriptaculous on the same page, TinyMCE must come first in your ordering of script tags, else you get a lovely weird error:

Error: tinyMCE.baseURL has no properties...

Useful. I very nearly chucked something at my TFT screen after that.