Closed itay-grudev closed 4 years ago
Check out 4.3.0
if you're looking for this functionality. The only major thing you'll be losing is the Active Storage adapter.
https://github.com/galetahub/ckeditor/tree/v4.3.0
I'm still using this version as I'm overriding a couple plugins which isn't possible with the CDN.
@patrickdavey That's what I've been doing. I used the latest version before the project switched to CDN only. But still this isn't a solution to the problem, but a workaround that will just get old over time.
+1 for "please restore the functionality of this gem where the CKEditor JavaScript was bundled and distributed with Sprockets". thanks!
Using 4.3.0 is impossible due to at least #757
I'm using 4.3.0
in production with no issues. That issue was reported for v4.2.3
, I've reopened it for more information incase anyone is still experiencing it.
Although initially I wasn't a fan of dropping the assets, I now think it's the right path. Rather than providing Ckeditor assets the gem should only be responsible for integrating Rails and Ckeditor - i.e. providing some basic configuration, file storage adapter, form wrappers and a file manager.
Given that Rails now comes bundled with Webpacker it should be pretty straight forward to include it - although granted we should support this and include it in the docs.
I can take a look at this, @galetahub what do you think?
If you offer an easy way to get it back through webpacker - no complaints there. It's a reasonable method.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
CKEditor CDN is not an option in environments which closely observe GDPR and cannot allow personal information leakage to external servers.
A request to external CDN would disclose the user's IP address, which according to GDPR is considered personally identifiable information.
For this reason, please restore the functionality of this gem where the CKEditor JavaScript was bundled and distributed with Sprockets.