0

I am using this CKEditor gem: with Rails 4 and assets_sync and Heroku I get the following url:

http://www.baseurl.com//mybucket.s3.amazonaws.com/assets/ckeditor/config-77c214941cb7b15940a497f28f333f30.js

while it should be

//mybucket.s3.amazonaws.com/assets/ckeditor/config-77c214941cb7b15940a497f28f333f30.js

as defined in my assets_host

config.action_controller.asset_host = "//#{S3_BUCKET}.s3.amazonaws.com"

I also defined:

var CKEDITOR_BASEPATH = "http://mybucket.s3.amazonaws.com/assets/ckeditor/"; 

But it doesn't help either.

Why do I get baseurl?

Thanks a lot for help.

dpaluy
  • 3,537
  • 1
  • 28
  • 42

1 Answers1

0

Upgrading a ckeditor gem to version 4.0.11 fix this issue.

dpaluy
  • 3,537
  • 1
  • 28
  • 42