Title: Javascript error causing wysiwyg editor not to load
Last modified: August 21, 2016

---

# Javascript error causing wysiwyg editor not to load

 *  Resolved [Rhep](https://wordpress.org/support/users/rhep/)
 * (@rhep)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-causing-wysiwyg-editor-not-to-load/)
 * I have been using the ACF plugin in development and everything had been working
   fine until i came to add more content to the website. I noticed that the wysiwyg
   editor had disappeared and now i can only enter information using html in the
   text box.
 * I’ve searched google and when others have had a similar problem it’s been down
   to javascript errors. I checked to see if my site was throwing up any errors 
   and it’s showing the following two:
 * 1) ReferenceError: switchEditors is not defined
    2) TypeError: tinyMCE.settings
   is undefined
 * This must be what is causing the plugin to not work properly but i have no idea
   as to what caused it to break in the first place and more importantly how to 
   fix the errors.
 * Can anyone please help?
 * Thanks
 * [http://wordpress.org/plugins/advanced-custom-fields/](http://wordpress.org/plugins/advanced-custom-fields/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Rhep](https://wordpress.org/support/users/rhep/)
 * (@rhep)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-causing-wysiwyg-editor-not-to-load/#post-4374751)
 * I have managed to resolve this now. The issue was caused by me not adding support
   for the editor when i created my custom post type.

Viewing 1 replies (of 1 total)

The topic ‘Javascript error causing wysiwyg editor not to load’ is closed to new
replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [javascript errors](https://wordpress.org/support/topic-tag/javascript-errors/)
 * [wysiwyg editor](https://wordpress.org/support/topic-tag/wysiwyg-editor/)

 * 1 reply
 * 1 participant
 * Last reply from: [Rhep](https://wordpress.org/support/users/rhep/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/javascript-error-causing-wysiwyg-editor-not-to-load/#post-4374751)
 * Status: resolved