- Original Poster
- #1
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
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