问题
A fresh installation of SilverStripe is not able to load TinyMCE correctly because the path to some files is not correct, see screenshot: https://www.imgpaste.net/image/Ds9Ve
Does anyone know what I'm missing?
回答1:
This is caused by gzip compression on the server clashing with the TinyMCE code used by HTMLEditorield.
To disable gzip on our HTMLEditorield we can put the following in our config.yml file:
HtmlEditorField:
use_gzip: false
来源:https://stackoverflow.com/questions/45658301/silverstripe-3-6-1-unable-to-load-tinymce