/// Crazy Edit Notes/// These notes are mostly for me... So I can remember what happened. First: I should rename this plugin crazyedit. The relative paths will drive you banannas. Were do I start. The main source should give you a clue about how to arrange and get access to external TinyMCE Plugins. The URL scheme and method reqires you to add a "-" to all plugins added to the init. You just do an tinyMCE.loadPlugin with the URL after that. The real fun begins when you start trying to figure out why all the plugins are so entrenched in haphazard linking schemes... Oh yea. They were developed by different folks at different times. That's Open Source.. Somebody will eventually go back and clean them up, but for now I have to do a manual port for each. To make them operate outside of the tinymce/plugin folder that they are used to. Portin Plugins ::: Tables, a quick, very dirty guide: It was probably the hardest and the easiest to fix. I'm still tying to decifer the javascript... I'm no ECMAScript master, but this is alot of code. For Tables defining this.baseURL instead of the other schemes for the template calls fixed most of it. You can also figure out where it is trying to go and put in a relative path. I had to do that for emotions and flash. The main thing is that you are trying put some HTML file into a frame. Wordpress likes the floating layer / Iframe method which is the way I like it too. You can find the URL for that layer and beat your head against a keyboard until the ../../'s start making sense. For tables there were quite a few of these little HTML files that had to be relinked.. But it's not over yet bub. Each of those HTML files is linking to javascript and css files. You have to change those into relative links. I found it easier to cut and paste after a while. So... linked files everywhere... fix them till it starts working. Styles and Layers (the pain in my *&@!(!!) : So Wordpress is using TinyMCE 2.0.5 I beleive. Now TinyMCE is at 2.0.6 which has some nice improvements. I think they changed some DOM stuff, because there are a few errors and a lot of unstability if you turn on the Layers options. It is barely usable at this point. Styles / Styleprops is the other new plugin for 2.0.6, but it seems to work okay on 2.0.5 except there is one utility that isn't in Wordpress's tinymce/util directory. I've put a util directory in this plugin directory to fix that. I also found another nasty relative linking bug in one other TinyMCE Utility. THat is why there is a theme/advanced directory in the superedit folder. Just to make some images show that some utility expects to be in that specific location. If your interested it is the image you see for the colorpicker.. I think that is enought so I can remember how I got this far... Tomorrow... The Wordpress guys start using the Dojo Editor and I hang myself with a firewire cable.