Add Custom Button to TinyMCE
-
Hi Guys
I have TinyMCE loading in my forum for when people post to it and I’m using a plugin ( https://en-au.wordpress.org/plugins/visual-editor-custom-buttons/faq/) that allows me to add custom buttons to TinyMCE. These buttons appear just fine in the backend when creating posts/pages but the new buttons do not appear in the forum post area.
I have this function in my functions.php for adding TinyMCE in forum.
function bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = array('toolbar1' => 'bold, italic, underline, strikethrough, blockquote, alignleft, aligncenter, alignright, alignjustify, bullist, numlist, outdent, indent, cut, copy, paste, undo, redo, link, unlink, image, removeformat, pastetext',); $args['quicktags'] = false; $args['teeny'] = true; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
How do I get the buttons created in this plugin to appear in the front end forum area?
- You must be logged in to reply to this topic.