KevinPlusPlus (@kevinplusplus)

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

  • KevinPlusPlus
    Participant

    @kevinplusplus

    Webcreations907,

    This code snippet added to my functions.php does then show the Text / Visual tabs and allow switching between them.

    Not sure if that’s the permanent solution, but that does get things working without modifying the plugin code itself.

    Kevin


    KevinPlusPlus
    Participant

    @kevinplusplus

    I have this in my functions.php:

    /* Re-enable the visual editor for bbPress */
    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );

    function bbp_enable_visual_editor( $args = array() ) {
    $args[‘tinymce’] = true;
    $args[‘teeny’] = false;
    return $args;
    }

    I should add that with the 2.6.7/8, the text editor doesn’t even show the toolbar. All I get is the text window with no buttons at all.


    KevinPlusPlus
    Participant

    @kevinplusplus

    John,

    Thanks for your fast action, unfortunately the issue still persists. The Visual editor does not appear.

    If I comment out line 1085:

    //$bbp_classes[] = ‘no-js’;

    Then it will appear again.

    Or, do I need to be defining this bbp_classes array somewhere else?

    Thanks,

    Kevin


    KevinPlusPlus
    Participant

    @kevinplusplus

    Hi,

    Yes, the same thing happened to us. It looks like it is because of line 971 in common/templates.php

    $bbp_classes = array( ‘no-js’ );

    Remove the no-js and the editor will come back.

    I don’t see any way to do this without directly editing the source code for the plugin. Hopefully an oversight that can be corrected.

    Kevin

Viewing 4 replies - 1 through 4 (of 4 total)