A plugin to use the Trix WYSIWYG editor within in Administrate.
Add administrate-field-trix
and trix
to your Gemfile
:
gem 'administrate-field-trix'
gem 'trix'
Install:
$ bundle install
Add a WYSIWYG field to your FooDashboard
:
ATTRIBUTE_TYPES = {
bar: Field::Trix
}.freeze
Administrate::Field::Trix
is maintained by headway.