我使用ckeditor gem。在我将 ckeditor-files 复制到公共文件夹之后,上次一切正常。但是在资产预编译之后,ckeditor 突然(再次)在开发和生产中消失了。
带有“CKEDITOR_BASEPATH = '/assets/ckeditor'”的 ckeditor.js 已成功包含在我的 html 输出的标题中,但未显示 textarea。
服务器日志说:
Served asset /ckeditor/skins/kama/editor.css - 404 Not Found (5ms)
但它同时存在于:app/assets/ckeditor/skins 和 app/public/assets/ckeditor/skins 中。
太棒了
我尝试换成月光皮肤,因为那是随宝石一起交付的。但是,我无法编译我的自定义 app/assets/ckeditor/config.js 文件。app/public/assets/ckeditor/config.js 总是看起来不同。我把它删了重新编译,又坏了。有任何想法吗?非常感谢!