RailsAdminActiontext
RailsAdmin extension for enabling the Rails 6 ActionText editor.
Installation
To enable rails_admin_actiontext, add the following to your Gemfile:
gem 'rails_admin'
gem 'rails_admin_actiontext'
It should go without saying that this plugin also requires the actiontext gem.
E.g. gem 'actiontext'
Configuration
To use ActionText follow the Rails installation instructions (don't forget ActiveStorage if you want to allow drag and drop images).
RailsAdmin.config do |config|
config.model Team do
edit do
field :description, :actiontext
end
end
end
About Jemcode
This repository is maintained and funded by Jemcode Limited. We are available for hire.