BP TinyMCE

This plugin allows you to include a TinyMCE rich editing box on many of the pages of BuddyPress. I want to be careful about the tags I allow, so I’m whitelisting, which is a bit tedious. As a result, there are only a few buttons available: a, em, strong, ul, ol, li. It’s a start, though.

Seems to work everywhere in BP: forums, wire, messages, profile pages.

A note about TinyMCE: WP ships with TinyMCE, and I thought it made sense to use that version instead of attaching one to this plugin. I think that the path to TinyMCE (line 20 of the plugin) should work on all installations, but you may have to tinker if you don’t see it popping up in the head of your BP pages. Moreover, the language files for WP’s version of TinyMCE are misnamed, which means that they don’t work right out of the box (at least for me they don’t). You may need to change the name of wp-includes/js/tinymce/langs/wp-langs-en.php to en.php in order to get the hover and help text in the TinyMCE box to work.

Download the plugin here. Don’t use in a production environment unless you are very certain that you are satisfied with the security of this plugin!

Update, March 13 2010: I’ve tweaked the plugin so that it should work with ajax status updates in BP 1.2.1+. Download it here, but keep in mind it’s not really an official release – just a stopgap til I can find time to make it work right.

BP TinyMCE has been downloaded 9,107 times. Are you using this plugin? Consider a donation.

See an older comment stream related to this plugin. All future comments should be left on this post.

Version history

0.1
Initial release

0.2
Compatibility with “what’s new” box on group home pages in BP 1.2
0.2.1 – – January 7, 2010
Fixed problem with a target attribute

58 thoughts on “BP TinyMCE

Leave a Reply