Title: Plugin breaks visual editor 3.9b1 &#8211; missing &#039;en.js&#039;
Last modified: August 21, 2016

---

# Plugin breaks visual editor 3.9b1 – missing 'en.js'

 *  Resolved [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/)
 * Like many will probably find, my plugin adds a toolbar button to the TinyMCE 
   editor in a 3.x fashion, and so completely breaks the visual editor in 3.9b1 
   with the TinyMCE 4 upgrade. It’s looking for a javascript file at `/pluginpath/
   js/langs/en.js` where I currently have the editor_plugin.js in the `/pluginpath/
   js/` folder.
 * I certainly want to fix this before WP 3.9 advances much further, but I haven’t
   found any reference to this problem yet, let alone updated examples of how to
   add a toolbar button using the new TinyMCE scheme to WordPress. The “migration
   guide” doesn’t mention this issue, and only seems to indicate what paths changed
   in the core of TinyMCE, which doesn’t seem like the realm of my plugin. Can anyone
   give some additional pointers on this? Or, what more information should I provide
   to request help?

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699656)
 * Which plugin? I just tested your Google one, and it’s working fine on current
   trunk.
 *  Thread Starter [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699676)
 * I wasn’t able to get the visual editor to load with Google Doc Embedder activated,
   receiving the javascript error indicated above (missing en.js file beneath my
   plugin path, where I certainly haven’t put it). I’ll do some additional testing
   though; perhaps I was dealing with some cached files or something. Thanks for
   checking.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699721)
 * It seems to be working fun on trunk 🙂 which is oft the case. If you can check
   on the latest nightly, that would be great.
 *  Thread Starter [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699734)
 * Unfortunately it’s still not working for me – all features appear fine except
   the editor integration, it appears to me to break the visual editor with this
   error in the console (Firebug on FF 27.0.1):
 * `"NetworkError: 404 Not Found - [domain]/wp-content/plugins/google-document-embedder/
   js/langs/en.js"`
 * I’m running the version I get when I click “download nightly” which is WordPress
   3.9-beta1-27501. But since it seems to be working on your end I will take another
   look when a new nightly or beta is released. Thanks for following up with me,
   I appreciate it.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699761)
 * What exactly were you doing when it broke? I installed, clicked the tinymce button,
   and it let me insert just fine on Chrome. This may need specific steps to reproduce.
 *  Thread Starter [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699766)
 * There are no specific steps – when GDE is installed and activated, the tinymce
   buttons do not appear at all for me, just the js error in the console and an 
   empty visual editor area. The fact that it seems to be working normally for you
   though makes me inclined to wait for a later beta and see if the issue is not
   really there.
 * Here is a screen capture though of what I see, in case that clarifies the problem:
 * [http://www.davismetro.com/temp/39beta-wp-issue.png](http://www.davismetro.com/temp/39beta-wp-issue.png)
 *  Moderator [Sergey Biryukov](https://wordpress.org/support/users/sergeybiryukov/)
 * (@sergeybiryukov)
 * WordPress Dev
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699770)
 * I can reproduce the issue in trunk.
 *  Moderator [Sergey Biryukov](https://wordpress.org/support/users/sergeybiryukov/)
 * (@sergeybiryukov)
 * WordPress Dev
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699771)
 * Removing this line from `google-document-embedder/js/editor_plugin.js` fixes 
   this for me, while the localization [still works](http://cl.ly/image/2J0i0h1u1527):
 *     ```
       tinymce.PluginManager.requireLangPack('gde');
       ```
   
 *  Thread Starter [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699772)
 * Sergey, thanks for your efforts – that fix is extremely helpful! Works for me
   now in trunk.

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

The topic ‘Plugin breaks visual editor 3.9b1 – missing 'en.js'’ is closed to new
replies.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 9 replies
 * 3 participants
 * Last reply from: [k3davis](https://wordpress.org/support/users/k3davis/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/plugin-breaks-visual-editor-39b1-missing-enjs/#post-4699772)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
