Skip to content

jemcode/rails_admin_actiontext

Repository files navigation

RailsAdminActiontext

Gem Version Code Climate

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'

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

Jemcode

This repository is maintained and funded by Jemcode Limited. We are available for hire.