Use TinyMCE in your Wordpress 2.8 Plugin
Posted on Saturday, November 7th, 2009 by Dan Imbrogno
Okay, so when you try to include the tinyMCE code using wordpress’ built in wp_enqueue_script() function, it does absolutely nothing. If you try to manually include the script, you’ll end up with all sorts of javascript errors, and missing language translations. However, if you simply call wp_tiny_mce(); in the template_redirect or wp_head function, all the javascript for tiny_mce is loaded properly. Then all you need to do, is run your tinymce.init script to setup your text editor. For example: