I’m new to rails and I recently discovered rails_admin.
I added CKEditor using the command from rails_admin documentation, but I don’t know how to enable it on a field.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just had to figure this out today. This is how I got it to work. In my config/initializers/rails_admin.rb I have the following set up.
Change ‘MyModel’ with the name of your model and ‘:description’ with the name of the field you want to use ckeditor on. Also in the edit block make sure that you have all of your other field config.
Update
The syntax above has been deprecated in newer versions of rails_admin.
is the new syntax of doing it.