Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress with TinyMCE advanced


  • chaaampy
    Participant

    @chaaampy

    WP : 5.0.2
    bbPress : 2.5.14
    Theme : Custom (built with _S)

    Hi everyone,

    Im trying to build a custom tinyMCE menubar in my forums.
    I disabled the text editor and get to a pretty nice ending, but I don’t know why, I just can’t display the “media” and the “emoticons” button.

    Here is my code :

    function bbp_enable_visual_editor( $buttons = array() ) {

    $buttons[‘quicktags’] = false;
    $buttons[‘tinymce’] = array(
    ‘toolbar1′ =>’bold, italic, underline, strikethrough, blockquote, bullist, numlist, link, unlink, cleanup, media, image, emoticons’);
    return $buttons;
    }

    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );

    Other ones are working fine … Any idea ? Im also trying to build a custom spoiler button, without plugins, but I don’t know where to start either …

    Cheers,

    Champy.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar