[wp-hackers] <!--nextpage--> and other tinymce stuff

Andrew Ozz admin at laptoptips.ca
Tue Nov 4 20:52:54 GMT 2008


Jess Planck wrote:
> I was hoping that these functions would be split into separate tinymce 
> plugins / javascript functions. I would not consider this the easiest 
> task, so I would not expect it for 2.7. There are a ton of functions in 
> the wordpress tinymce plugin; page more, next page, advanced toolbar, 
> wordpress help, and not to mention core controls for the editor that do 
> hot keys and build in the media buttons. It might be time to split out 
> some of those functions.

This is "mostly" right, except that each of the features added by the 
"wordpress" plugin for TinyMCE can easily be hidden by removing the 
button for it from the toolbar by add_filter('mce_buttons', array(...)). 
<!--nextpage--> can be added in the same way.

> If More and Next Page were in a wp-paging tinymce plugin and advanced 
> toolbar were in a kitchensink tinymce plugin. They could be easily 
> removed or modified by plugin authors. Very easy to override. I don't 
> know if I get this right, but wpeditimage buttons live in the wordpress 
> plugin while the wpeditimage has it's own plugin?

No, the "wpeditimage" plugin includes the buttons that pop-up when 
clicking on an image in the visual editor. The buttons you see in the 
"wordpress" plugin are the "Upload Media" buttons and are shown only 
when the editor is in full screen mode, so the uploader can still be used.


More information about the wp-hackers mailing list