Ask A Question

Notifications

You’re not receiving notifications from this thread.

Why CKeditor is not working in production?!

Muhammad asked in Rails

Hi guys, I'm using CK editor in my rails 5 app and when I deoployed it on Digital Ocean and the editor doesn't load with this error in the console.

ReferenceError: CKEDITOR is not defined

is there anyone using CKeditor here?!

Reply

Just a thought, but do you have to white-list your pdocution domain with them anywhere?

Reply

Hi Simon, I don't even understand what you've said, I'm kinda new to all of that! 😂 but I managed to make it work. After this error I wasn't able to upload images using carrierwave with ckeditor but this was because I didn't install image magic on the server so after I installed it everything went fine. github repo if you want to take a look at anything: https://github.com/Muhammad-Ebrahim/blog

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.