SilverStripe 3.6.1 无法加载 TinyMCE [英] SilverStripe 3.6.1 unable to load TinyMCE
本文介绍了SilverStripe 3.6.1 无法加载 TinyMCE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
全新安装的 SilverStripe 无法正确加载 TinyMCE,因为某些文件的路径不正确,请参见屏幕截图:https://www.imgpaste.net/image/Ds9Ve
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?
推荐答案
这是由服务器上的 gzip 压缩与 HTMLEditorield
使用的 TinyMCE 代码冲突造成的.
This is caused by gzip compression on the server clashing with the TinyMCE code used by HTMLEditorield
.
要在我们的 HTMLEditorield
上禁用 gzip,我们可以将以下内容放入我们的 config.yml
文件中:
To disable gzip on our HTMLEditorield
we can put the following in our config.yml
file:
HtmlEditorField:
use_gzip: false
这篇关于SilverStripe 3.6.1 无法加载 TinyMCE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文