SilverStripe 3.6.1 unable to load TinyMCE

2019-09-20 13:10发布

问题:

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