Skip to main content

Why CKeditor is not working in production?!

Rails • Asked by Muhammad

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?!

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

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:

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.