PDW Toggle Toolbars v1.2
(Based on Wordpress Hide Kitchen Sink)

TinyMCE Plugin

Download PDW Toggle Toolbars plugin

Example 1

Show and hide toolbars 2, 3 and 4.

View Source
    $('textarea#example1').tinymce({
        script_url : "javascript/tiny_mce/tiny_mce.js",
    
        // General options
        theme : "advanced",
        plugins : "pdw, safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
     
        // Theme options
        theme_advanced_buttons1 : "pdw_toggle, save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,forecolor,backcolor",
        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl",
        theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
            
        pdw_toggle_on : 1,
        pdw_toggle_toolbars : "2,3,4",
            
        height : '300',
        width : '450'
    });
    

Installation

  1. Extract zip-file
  2. Copy pdw folder to the plugins folder under tiny_mce (/tiny_mce/plugins/)
  3. See above source code for how to add the plugin to your editor setup. Just add the blue stuff ;-)