[wp-hackers] making the code editor the default view

Andrew Ozz admin at laptoptips.ca
Thu Dec 6 22:07:11 GMT 2007


Yes, TinyMCE 3.0-beta has this:
tinymce.PluginManager.load('myplugin', 
'/some/dir/someplugin/editor_plugin.js');
tinymce.PluginManager.requireLangPack('myplugin');
Not sure if/how it can go in tiny_mce_gzip.php (would be nice).

In the current version external plugins can be loaded with:
tinyMCE.loadPlugin("myplugin","/some/dir/myplugin");
but it may have a problem loading the language file if different from "en".

Stephen Rider wrote:
> has there been any real discussion of standardizing the ability for 
> plugins to add editor buttons?  Will the upcoming version of TinyMCE 
> have this?


More information about the wp-hackers mailing list