Title: Can&#039;t toggle between visual and text editor
Last modified: August 22, 2016

---

# Can't toggle between visual and text editor

 *  [scopie](https://wordpress.org/support/users/scopieg/)
 * (@scopieg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/cant-toggle-between-visual-and-text-editor/)
 * I turned on script debugging and it solved the problem.

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

 *  Thread Starter [scopie](https://wordpress.org/support/users/scopieg/)
 * (@scopieg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/cant-toggle-between-visual-and-text-editor/#post-5342911)
 * More info…it seems to be only with custom post types.
 * I get the following js errors:
 * TypeError: e is undefined load-scripts.php:291
    ReferenceError: switchEditors
   is not defined post.php:1 TypeError: wp.media.view.settings.post is undefined
   load-scripts.php:316 TypeError: c.parent(…).offset(…) is undefined load-scripts.
   php:49 ReferenceError: switchEditors is not defined post.php:1 TypeError: d.view.
   settings.attachmentCounts is undefined load-scripts.php:281
 *  Thread Starter [scopie](https://wordpress.org/support/users/scopieg/)
 * (@scopieg)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/cant-toggle-between-visual-and-text-editor/#post-5342912)
 * Since I can only see this error with a plugin, I disabled all plugins except 
   the one and the problem still exists.
 * It is the same in both Firefox and Chrome on Windows 7.

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

The topic ‘Can't toggle between visual and text editor’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [scopie](https://wordpress.org/support/users/scopieg/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/cant-toggle-between-visual-and-text-editor/#post-5342912)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
