• Resolved goatzz

    (@goatzz)


    I am using WordPress 3.5.1 My client reported that her visual editing capability suddenly vanished while editing content this morning. The Visual tab is greyed out when loading the TinyMCE editor. I’ve been trying to get it back for her.

    Troubleshooting:
    -upgraded all plugins to current
    -disabled all plugins except TinyMCE
    -removed custom settings from TinyMCE, returned to default
    -deleted /wordpress/wp_includes and /wordpress/wp_admin, replacing them with fresh copies from the installation package
    -verified current user is not “visual editor disabled”
    -cleared browser cache, restarted browser etc

    JAVASCRIPT ERRORS:
    ==When loading the editor==

    ReferenceError: jQuery is not defined
    })( jQuery );

    ==When clicking the “visual” tab==

    ReferenceError: switchEditors is not defined
    switchEditors.switchto(this);

Viewing 5 replies - 1 through 5 (of 5 total)
  • Have you tried:

    – switching to the default theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter goatzz

    (@goatzz)

    I updated all themes, then changed to the twenty-eleven theme. This had no effect.

    I renamed my /wp-content/plugins folder, then created a new one with 777 permissions. I moved only the tinymce-advanced tree into this new folder and logged into the admin panel again. Experience the same issue.

    Can we see the site using the default Twenty Twelve theme with all plugins deactivated?

    Thread Starter goatzz

    (@goatzz)

    Here it is:

    http://www.firstlandmark.ca

    obviously this site is optimized for another theme, but even at this stage, I’m still getting that jQuery reference error.

    Thread Starter goatzz

    (@goatzz)

    Fixed:

    Followed the following instructions from http://www.wpmayor.com/code/easy-fix-for-wordpress-3-5-jquery-is-not-defined-error/

    This is to solve the “jQuery not defined” error:

    Insert the following code into wp-config.php:

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
        define('ABSPATH', dirname(__FILE__) . '/');
    
    define('CONCATENATE_SCRIPTS', false);

    Take care all!

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

The topic ‘TinyMCE Visual Tab Greyed Out’ is closed to new replies.