Wysiwyg Insert Image shows blank page in production mode
-
07-01-2021 - |
Question
After putting my webshop in production mode and try to insert an image in the Wysiwyg editor it gives me a blank popup modal apart from text saying insert image and a close button. In developer mode everything works fine.
The console gives me a 404 error.
The other Wysiwyg functions all work fine even the video upload function.
Solution
I solved this problem by setting the pub folder as the root of the webserver as Magento suggests doing.
After setting the pub folder as root all I had to do is regenerate the static content and the image selecter worked fine.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange