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!
BP TinyMCE has been downloaded 624 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
3 Comments
Hey Boone — been messing around with this trying to get it working consistently on BP1.2. It appears in some places and not in others, which is making my head hurt (and sadly, breaks the Rate Forum Posts plugin, which I really like too).
Any chance you could take some time out of your madcap BP-plugin-releasing schedule to revisit it for 1.2? A lot of us (I’m guessing, it can’t only be me!) would really appreciate it!
stwc (and now I know what it stands for!!) – I have been putting this task off because TinyMCE is such a PITA. I know that people are clamoring for it, though, so I’ll take a swing at updating this bad boy this week. Thanks for your interest.
Thanks! My users would be happy with any toolbar on their textareas, to be honest, not just TinyMCE. It is indeed a PITA, which is why I’ve kind of given up trying to make it work myself!
Post a Comment