Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jemcode/administrate-field-ckeditor

A plugin for adding CKEditor support to Administrate
https://github.com/jemcode/administrate-field-ckeditor

administrate ckeditor jemcode rails thoughtbot

Last synced: 5 days ago
JSON representation

A plugin for adding CKEditor support to Administrate

Awesome Lists containing this project

README

        

# Administrate::Field::Ckeditor

[![Code Climate](https://codeclimate.com/github/jemcode/administrate-field-ckeditor/badges/gpa.svg)](https://codeclimate.com/github/jemcode/administrate-field-ckeditor)

A plugin for adding [CKEditor] support in [Administrate].

## Usage

Add to your `Gemfile`:

```ruby
gem "administrate-field-ckeditor", "~> 0.0.9"
```

Run:

```bash
$ bundle install
```

Add to your `FooDashboard`:
```ruby
ATTRIBUTE_TYPES = [
bars: Field::Ckeditor,
]
```

Or with CKEditor options:
```ruby
ATTRIBUTE_TYPES = [
bars: Field::Ckeditor.with_options({ ckeditor: { uiColor: '#800000' }}),
]
```

[CKEditor]: https://github.com/galetahub/ckeditor
[Administrate]: https://github.com/thoughtbot/administrate

## About Jemcode

[Jemcode][hire]

Administrate::Field::Ckeditor is maintained and funded by Jemcode Limited. We are [available for hire][hire].

[hire]: https://www.jemco.de?utm_source=github