SilverStripe 3.6.1 unable to load TinyMCE

时间秒杀一切 提交于 2019-12-25 18:48:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!