Vijay Gupta
Vijay Gupta

Reputation: 95

Magento 2.3 has stopped Wysiwyg(Tinymce) editor working after upfrade from magento 2.2.x

In Magento 2, I have upgraded to magento 2.2.5 to 2.3.0, it upgraded successfully. But there i am getting issue with Wysiwyg(Tinymce) editor. At admin panel, category edit page and product edit page i am getting following error.

Refused to execute script from 'http://example.com/pub/static/version1545219436/adminhtml/Magento/backend/en_US/tinymce.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

Please help me how can i fix it. Thank you

Upvotes: 3

Views: 3245

Answers (1)

razzzila
razzzila

Reputation: 1

Finally, i found how to solve it. There is a problem, that composer while upgrade didn't delete root_dir/lib folder as i understand. So, old code that use tinymce v3 still called and executed. To fix it just run from magento_root_dir:

rm -rf lib/web ; rm -rf vendor ; composer i

It solved this issue for me.

Upvotes: -1

Related Questions