All threads / Why CKeditor is not working in production?!

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

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: https://github.com/Muhammad-Ebrahim/blog

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.