Skip to:
Content
Pages
Categories
Search
Top
Bottom

Visual editor tinymce not work after modify functions.php


  • abkrim
    Participant

    @abkrim

    Hi.

    According Enable visual editor I put on my child theme’s functions.php code

    `// Additional Functions
    // =============================================================================

    // bbPress Visual Editor
    function bbp_enable_visual_editor( $args = array() ) {
    $args[‘tinymce’] = true;
    $args[‘teeny’] = false;
    return $args;
    }
    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );`

    But not work.

    Also I try to install plugin TinyMCE Advanced but not work.

    I’m using X Theme (Theme.co)

Viewing 1 replies (of 1 total)

  • pyoil
    Participant

    @pyoil

    Disable your plugins one by one, starting with your cache plugins and see if it fixes the issue.

    I was having the same issue. In my case, my cache plugin Autooptimize was breaking both the tinymce visual editor and the quick tags in the text editor.

    To fix both, I excluded the following JS scripts in my cache plugins:

    js/tinymce, js/backbone.min.js, js/underscore.min.js, js/comment-reply.min.js

    If you use Autooptimize then add the above piece of code here

    Settings > Autooptimize > JavaScript Options > Exclude scripts from Autoptimize:

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