buddypress-docs
buddypress-docs copied to clipboard
Solution for adding inline images
Would you like to allow the users add images inline direct from the MCE?
Here's one solution:
- install the plugin Image Upload for BBPress
- add this line of code, to bp-custom.php or wherever most suitable for your situation:
/*enable inline image upload for BuddyPress docs*/
add_filter('bp_docs_wp_editor_args', 'hm_bbpiu_modify_editor', 9999);
(you'll need to have bbPress activated as well as the Image Upload for BBPress is checking for this) Enjoy.
Thanks for this - it's a feature that I would like to add in the future.
Hi @Jon007 and @boonebgorges,
Thank you so much for sharing this. It works on my localhost with the following warning, however this solution doesn't work at all on our live hosting (private AWS). How can I solve this? Being able to add inline images is a very important feature for us and without this we can not use Buddypress Docs for our website.
I found another plugin that works for adding images: TinyMCE Advanced