galetahub / ckeditor

Ckeditor 4.x integration gem for rails
https://ckeditor.com/ckeditor-4/
MIT License
2.22k stars 881 forks source link

How to use with ActiveStorage+AWS? #928

Closed suzu-risa closed 1 year ago

suzu-risa commented 1 year ago

I'm using this gem and it works great, but now I need to use images uploaded to a private bucket on S3. In order to do this I'm using ActiveStorage. My models are configured for ActiveStorage and they work fine, but CKEditor still tries to write in the local filesystem. It works with ActiveStorage but how do I configure it to store the files on Amazon's S3 and not locally?