Wordpress Visual Tab not working

Spock

Free Member
Apr 24, 2008
1,216
206
Worcester
Seems like this week things are breaking on the web for me! This time the visual tab is not working on a site of mine. I can work in the Text tab but it won't let me click on the Visual tab for some reason.

Looking on a wp forum thread I added this to my config file
define('SCRIPT_DEBUG', true);
and it fixed it. However I don't think that should be kept in the file?

Any suggestions from you wp gurus? That fix would suggest it is a javascript issue apparently but it didn't show any javascript errors in the visual editor when it was fixed.

http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors
https://wordpress.org/support/topic/editor-stuck-in-html

As an aside, I am trying to add a size conversion script into a post which uses javascript, how do I add the javascript just to that page? Is it as easy as adding it to the Text tab?

Thanks
 
Hi,

This is likely caused by a plugin messing with your JS. Try disabling all the plugins and see if that fixes it and enable one by one.

Cheers,

Jacob
 
Upvote 0
Hi Spock

can you email me a login (editor is fine) and I will take a look, it's not something we could guess over as there are quite a few things that can cause this.

Things to try:

1) Disable plugins (done already)
2) Change to default theme
3) Check your browser console log
 
  • Like
Reactions: Spock
Upvote 0
The plugins show as missing when I rename the plugin folder. I have already tried on another theme.

Ok I will PM you a login mate, thanks
 
Upvote 0
Just an update, we managed to get it working but not sure how! Seems like it was just happening on my computer anyway.
 
Upvote 0
Just an update, we managed to get it working but not sure how! Seems like it was just happening on my computer anyway.
It happens from time to time. Your browser has a brainfart and borks everything. Logging out and restarting often clears the air.
 
Upvote 0

Latest Articles