I would recommend that you install the WYSI editor by Mudbomb, http://mudbomb.com/archives/2005/02/02/wysiwyg-plugin-for-wordpress/
It’s by far the best editor I’ve found and it has many functions that the original editor lacks. Thumbnails, resize, resample, and extra text editing features are some of my favorites.
The Mudbomb editor is the tiny MCE editor from Moxiecode.
To add buttons you need to edit the calling code. Detailed documentation is available on the moxiecode site. http://tinymce.moxiecode.com/tinymce/docs/index.html
If you have implemented the mudbomb plugin, then the calling code is in wordpress.js under wysi-wordpress in the plugin folder.
mode : “exact”,
theme : “advanced”,
language : “en”,
plugins : “imagebrowser,dictionary”,
theme_advanced_disable : “strikethrough,visualaid,anchor,zoom,table,row_before,row_after,delete_row,separator,col_before,col_after,delete_col,bullist,numlist,outdent,indent,undo,redo,link,unlink,anchor,image,cleanup,help,code,preview,sub,sup,separator,charmap,removeformat,visualaid,hr,bold,italic,underline,justifyleft,justifyright,justifycenter,justifyfull,cut,copy,paste,forecolor,backcolor,styleselect”,
theme_advanced_buttons1_add : “bold,italic,underline,strikethrough,removeformat,numlist,bullist,outdent,indent,justifyleft,justifyright,justifycenter,justifyfull”,
theme_advanced_buttons2_add : “link,unlink,separator,imagebrowser,image,separator,dictionary,separator,cut,copy,paste,separator,undo,redo,separator,code”,
relative_urls : false,
remove_script_host : false,
theme_advanced_toolbar_location : “top”,
theme_advanced_toolbar_align : “left”,
theme_advanced_resizing : true,
theme_advanced_path_location : “bottom”,
extended_valid_elements : “a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style],hr[class|width|size|noshade],font[color|background]”,
elements : “content”
To edit the buttons for the tiny mce that is already installed in WP 2.0 (IE: you don’t need the mudbomb plugin anymore), you can use a small plugin. Labnotes http://blog.labnotes.org/2005/12/26/advanced-editing-for-wordpress-20/ has a version of the plugin. If you need to, edit the plugin code as per the documentation at Moxiecode (TinyMCE), similar to the post above.
I have a variation of this code at my web http://www.anmari.com/anmari/2006/05/configuration-of-editor/ which has the background and foreground colour options switched off (to encourage staying with the CSS styling) and the spelling corrected – more tweaks later.
Another great image wsywig editor is raj prasad’s editor monkey — http://www.rajprasad.net/plugins/editormonkey.
although it’s no longer supported, it worked fine for me right out of the box for modifying a wp 2.0.3 installation. the plugin offers a nice blend of features and flexibility.
- The topic ‘tiny-mce’ is closed to new replies.