No release in over 3 years
Low commit activity in last 3 years
A plugin to use the Trix WYSIWYG editor in Administrate
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 4.1
>= 0.11.4.1
 Project Readme

administrate-field-trix

A plugin to use the Trix WYSIWYG editor within in Administrate.

Forked from headwayio/administrate-field-trix

Install

Add trix-rails and administrate-field-trix to your Gemfile:

gem 'trix-rails', require: 'trix'
gem 'administrate-field-trix'

Install:

$ bundle install

Usage

Add a Trix field to app/dashboards/foo_dashboard.rb:

ATTRIBUTE_TYPES = {
  bar: Field::Trix
}.freeze

If you're using the Rails asset pipeline, add the following to app/assets/config/manifest.js:

//= link administrate-field-trix/application.css
//= link administrate-field-trix/application.js