Uncaught ReferenceError:switchEditors is not defined

it might me entirely different solution that i am providing but it solved the problem for me.

I followed these steps:

  1. Open the user that is getting error. (WordPress admin menu > users > your profile)
  2. Changed the setting of “Disable the visual editor when writing” and saved the settings
  3. Again disabled this feature and saved the settings
  4. Boom. my editor is back.

Maybe it could solve someone else problem.

Regards,

Rao

Leave a Comment