尝试打开图像对话框时,ckeditor出现类型错误。仅在生产中

时间:2019-03-04 03:36:45

标签: javascript ruby-on-rails ckeditor

因此,我在博客中使用了ckeditor gem,它的功能与开发中的预期功能完全相同,但无法在生产中打开图像对话框。尝试打开对话框时进入控制台的错误是:"Uncaught TypeError: Cannot read property 'move' of undefined"

我认为这与我的application.js有关,但我无法弄清楚。看起来像这样

//= require turbolinks
//= require ckeditor/init
//= require jquery
//= require bootstrap
//= require activestorage
//= require rails-ujs
//= require_tree .

编辑:通过清除浏览器缓存来解决此问题!

0 个答案:

没有答案