Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress with TinyMCE, TinyMCE breaks on nested reply


  • expectancy
    Participant

    @expectancy

    Sharing this here in case anyone else has this issue. It’s a combination of using bbPress with either the bbPress Toolkit or the code snippet to use the TinyMCE editor in place of the standard editor.

    When using the TinyMCE editor, clicking “Reply” to a thread (using nested threads) would move the reply box to be under the thread, but the box itself loses the text area so you can’t type anything in.

    The workaround is to remove and reenable the TinyMCE instance. In the bbpress/templates/default/js/reply.js file, add these two lines to the “try” block (line 38):

    tinymce.get(‘bbp_reply_content’).remove();
    tinymce.execCommand(‘mceAddEditor’, false, ‘bbp_reply_content’);

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @expectancy,

    I was unable to reproduce this error. Could you switch to a standard theme like twenty seventeen and deactivate all plugins and try again ?

    If you think bbP Toolkit would need a change, then please use the dedicated forum for that plugin to report it.


    gaelle3182
    Participant

    @gaelle3182

    Thanks @expectancy,

    I had exactly the same problem with IE and your solution works perfectly!

    Thanks for sharing


    Jennifer Brueske
    Participant

    @crisconinja

    This worked for me, but I needed to put it in the reply.min.js.

    Thanks!


    Jennifer Brueske
    Participant

    @crisconinja

    Welp, now my changes are gone since the .min is created dynamically … And now i’m in the same boat. Trying again 🙂

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