blogo icon indicating copy to clipboard operation
blogo copied to clipboard

ckeditor in production

Open nunziofiore opened this issue 9 years ago • 3 comments

Hi I'm going crazy beacuse in development I have no problem. But releasing online I have an exception with ckeditor. In /blog/admin/posts/:title/edit I can't see the ckeditor. In console I have a problem that say:

if I override https://github.com/greyblake/blogo/blob/master/app/assets/javascripts/blogo/ckeditor/ckeditor_basepath.js.erb and set base_path << '/ckeditor/' instead of base_path << '/blogo/ckeditor/' I see the ckeditor in textarea but I have an exception on image upload :(

please help me Nunzio

nunziofiore avatar Jan 02 '16 00:01 nunziofiore

404 error https://www.dropbox.com/s/dcdrb5975mfhtz2/Screenshot%202016-01-02%2001.56.23.png?dl=0 :(

nunziofiore avatar Jan 02 '16 00:01 nunziofiore

perhaps I quite resolved but I have the only problem that in development it seems that it's all ok and image upload form point to /blog/admin/images but in production form point to /ckeditor/pictures and so I have an error of not right path... do you know how to set it to the right point?

nunziofiore avatar Jan 02 '16 13:01 nunziofiore

For others who come across this, I was able to use the "non-stupid-digest-assets" gem to solve the issue as described by @eterry1388 here: https://github.com/greyblake/blogo/issues/31#issuecomment-163757183

sreid avatar Apr 11 '16 17:04 sreid