Support » Fixing WordPress » Add/Edit Post or Page – Text Mode Buttons Do Nothing, Visual Editor Buttons Work

  • Hello,

    While on the /wp-admin/post-new.php or /wp-admin/post.php pages, the “Text” mode buttons seem disabled. They exist, but hovering over or clicking them does absolutely nothing. It’s like they’re images.

    The buttons I’m referring to are: b, i, link, b-quote, del, ins, img, ul, ol, li, code, more, close-tags — the buttons along the top of the textarea box.

    I have 1 plugin installed, but disabling it doesn’t change anything. The “Visual” text editor buttons work just fine.

    When I do a network inspect with firefox web dev tool to make sure everything loads, there are zero 404 errors, so it seems all the CSS/JS files are loading?

    Please let me know if there’s any additional information I can provide that might help.

    The problem existed in 4.4.1 and 4.4.2. The site is relatively new I started out on 4.4.1.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    Try switching to the Twenty Sixteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    If that doesn’t work, try adding define('CONCATENATE_SCRIPTS', false); to your wp-config.php file just below the define('DB_HOST' line.

    To do so, access your server via FTP or SFTP and edit the file with a plain text editor.

    https://codex.wordpress.org/Editing_wp-config.php#Disable_Javascript_Concatenation

    Wow, I wrote a reply and the forum told me my submission failed… perfect.

    James,

    Thank you for responding. Unfortunately neither suggestion was fruitful. I enabled Twenty Sixteen theme, cleared browser cache, no dice. Issue still exists so I think that rules out my theme’s functions.php.

    Same thing with CONCATENATE_SCRIPTS. I set it in wp-config.php, cleared cache, logged back in, issue still there.

    In the “Network” tab of the Web Developer tools, no 404s or err GET requests. All the JS/CSS appears to load.

    In the “Console” tab, I see no errors, JS, CSS, or others.

    Unfortunately I don’t know enough about JS to Debug this issue further.

    Thanks again for your help. Any other suggestions?

    Moderator bcworkz

    (@bcworkz)

    Have you tried using the text tab with a different browser? If possible, even a different computer? It’d be good to rule out local client issues before proceeding further with possible server fixes.

    It’s possible the initial installation was corrupted in some small way. Try reinstalling the core WordPress files. The procedure is the same as a manual update:
    https://codex.wordpress.org/Updating_WordPress#Manual_Update

    If you follow the steps carefully you will not lose any data (unless you wrongfully altered core files). For safety’s sake, back everything up anyway before proceeding.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    Besides trying with a different browser, also try with all browser extensions or add-ons temporarily disabled.

    Please let us know how each step goes for you, and which browser (and version of) you’re using if you’re still having trouble.

    Oh thanks, I had a very similar error and it was only failing on a custom theme. I was getting some very generic errors in my js console. “Uncaught TypeError: a.indexOf is not a function” in jquery, etc.

    Turned out I had some js scripts enqueued in the init hook instead of the wp_enqueue_scripts in my functions.php so the scripts that were supposed to run only on the frontend were executing on the admin side too.

    • This reply was modified 1 year, 9 months ago by  GabLeRoux.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add/Edit Post or Page – Text Mode Buttons Do Nothing, Visual Editor Buttons Work’ is closed to new replies.