Magento 2 TinyMCE Editor Hide/Show Not Working – Fix
magento2tinymce
Here is the pic the showing the tinyMCE is not showing and the button is not work
The browser console does not have any exception or error is showing, anyone know what is the problem?
Remarks tested on (xampp+windows and nginx+php7)
Best Answer
this is a known Magento js bug, there is a fix for it but not deployed in the current version so you would need to patch Magento:
the fix url is: https://github.com/magento/magento2/commit/3524943ac6544ee969480536ef6f0cd1a29b0b56.patch ( just the github issue sollution with .patch extension added ) save the content of the patch into a file ex: vendor_patches/MAGETWO-57675-Base.diff in the root of magento where vendor_patches is an directory created for patches
and you can create a patch as follows:
Add to your composer.json ( in the root of magento )
I had the same problem. I enabled and disabled wysiwyg by default is System -> Configuration -> Content Management, then cleared cache and it was solved. Nothing special
Best Answer
this is a known Magento js bug, there is a fix for it but not deployed in the current version so you would need to patch Magento:
the fix url is:
https://github.com/magento/magento2/commit/3524943ac6544ee969480536ef6f0cd1a29b0b56.patch
( just the github issue sollution with .patch extension added ) save the content of the patch into a file ex:vendor_patches/MAGETWO-57675-Base.diff
in the root of magento wherevendor_patches
is an directory created for patchesand you can create a patch as follows: Add to your composer.json ( in the root of magento )
{
}
Run
composer update
in the root of your magento