I have recently upgraded from Magento 2.2.4 to Magento 2.3.

This has caused some compatibility issues between some of our modules.

One instance of this is that we are missing a file:


I have downloaded this file from Tiny MCE and when i manually upload it to the static backend folder, the module is working properly again. However, Magento is not generating this file.

How can I force Magento to generate tinymce.js in the /pub/static/adminhtml/Magento/backend/en_GB/ folder?



this seems to be occuring on every page on the backend of our store. Where can i add this file to my code so that it is generated in the static folder?

  • Same problem here, with M2.2.8, upgraded from 2.1.8, have you found a solution? – Tero Lahtinen Apr 18 '19 at 7:22
  • @TeroLahtinen Unfortunately our store had too many modules that we were dependant on that were unsupported by 2.3. We instead had to revert back to our previous installation which fixed the issue. we have since upgrade to 2.2.8 with no issues. – vmp Apr 18 '19 at 12:58

Try this in order:

rm -rf generated/* && rm -rf var/view_preprocessed/* && rm -rf pub/static/*

php bin/magento c:c && php bin/magento c:f

php bin/magento s:s:d  --theme Magento/backend en_GB -f


I'll give some workaround, it's not the best way but try it, it can solve your problem !

Try to add tinymce.js in some module like this :


//copy the tiny_mce.js content here


<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <script src="Vendor_Modulename::js/tiny_mce.js" src_type="file"/>

then deploy all in order as my answer

  • Hi Prince, ive done this already a few times but Magento is not generating the file. – vmp Mar 6 '19 at 9:15
  • It's stranger ! did try to clean the cache browser ? – PЯINCƏ Mar 6 '19 at 9:42
  • Yeah, i have tried clearing all caches, static files, running on incognito browser and it will not appear – vmp Mar 6 '19 at 9:43
  • Look my edit... – PЯINCƏ Mar 6 '19 at 10:02
  • i have already tried this prince which unfortunately still did not solve the problem. If you see my edit on the original question, this issue is across all of the backend pages. – vmp Mar 6 '19 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.