This is an interesting question. We use wp_editor()
to create the editor, so I’m not sure what the difference would be. I can take a look at bbPress, but I wouldn’t change the editor implementation lightly, so don’t be waiting on an imminent change.
Thread Starter
WPabmm
(@aboutm2)
Thank you for looking into this, I appreciate that would be a big change so not expecting something imminently. Great plugin though
Replace TinyMCE with the WordPress Editor: If you want to use Jetpack’s Markdown feature, the easiest solution might be to replace the TinyMCE editor with the standard WordPress editor for BuddyPress Docs. This can be done by using a custom plugin or snippet that disables TinyMCE and forces BuddyPress Docs to use the default editor (which would be compatible with Markdown).
Here’s an example of how to replace the editor in BuddyPress Docs with the WordPress editor:
function replace_buddypress_docs_editor($editor) {
if (is_user_logged_in() && bp_is_docs()) {
remove_filter('bp_docs_template_part', 'bp_docs_get_editor');
add_filter('bp_docs_template_part', 'wp_editor');
}
}
add_action('bp_template_redirect', 'replace_buddypress_docs_editor');
This code is just a simple idea of replacing the TinyMCE editor with the default WordPress editor.
Thread Starter
WPabmm
(@aboutm2)
Thank you this is much appreciated 🙂