Skip to:
Content
Pages
Categories
Search
Top
Bottom

tinymce not working on replies

  • @teachlynx

    Participant

    I use bbPress 2.5.14 on latest WP.
    I have enabled TinyMCE with this code:

    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
    function bbp_enable_visual_editor( $args = array() ) {
    	$args['tinymce'] = true;
    	$args['quicktags'] = false;
        return $args;
    }

    It works well when a user posts a new topic.
    But when a user wants to reply to a topic, the tinyMCE editor is displayed but is not editable.
    I can’t see any error in the browser console.
    Please advise.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @crisconinja

    Participant

    After struggling with this on my site for a few days, I found https://bbpress.org/forums/topic/bbpress-with-toolkit-tinymce-breaks-on-nested-reply/#post-188103

    And after adding those two lines, it was working. I had to add them to the reply.min.js though.

    @teachlynx

    Participant

    Thanks for the tip.
    I have applied the fix. Now the tinyMCE editor opens and is editable, but reply is not indented, it is added at the end of the topic.
    I am investigating on my side. Any idea?

    @teachlynx

    Participant

    Now it’s fine. I made an error when copy paste the code.
    It works perfectly, thanks a lot!

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