Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action Text support #3144

Closed
mshibuya opened this issue May 22, 2019 · 4 comments
Closed

Action Text support #3144

mshibuya opened this issue May 22, 2019 · 4 comments
Milestone

Comments

@mshibuya
Copy link
Member

https://edgeguides.rubyonrails.org/action_text_overview.html

@mshibuya mshibuya added this to the 2.0.0 milestone May 22, 2019
@mshibuya
Copy link
Member Author

mshibuya commented Jun 2, 2019

Documentation added.
https://github.com/sferik/rails_admin/wiki/ActionText

@vnguyen13
Copy link

@mshibuya , How do you use actiontext with rails_admin?

@nezirz
Copy link

nezirz commented Nov 19, 2022

@mshibuya old question but let me add comment its about rails 7.0.4 and you need just to do:
1 - bin/rails action_text:install

2 - # app/models/message.rb

class Message < ApplicationRecord
  has_rich_text :content
end 

3 - in case that you see broken images you will need this setting
Use mini_magick , just include in config/application.rb

config.active_storage.variant_processor = :mini_magick

@mshibuya
Copy link
Member Author

Good, could you update the Wiki entry as well?
https://github.com/railsadminteam/rails_admin/wiki/ActionText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants