Sha256: ac4d6e88f2ef194c075e6ddfe07ce4b43c891fc14b5ee9b56bd268efda9903b2

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

# Administrate::Field::Ckeditor

[![Dependency Status](https://gemnasium.com/badges/github.com/jemcode/administrate-field-ckeditor.svg)](https://gemnasium.com/github.com/jemcode/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.6"
```

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

[<img src="https://www.jemco.de/logo.svg" width="400" alt="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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
administrate-field-ckeditor-0.0.6 README.md