Sha256: 208cccb058ed0fdf31a4d692a8facd4536874b1853d2e08dc373064d7bbc8e86

Contents?: true

Size: 1.51 KB

Versions: 10

Compression:

Stored size: 1.51 KB

Contents

# Nacelle

[![CI Status](https://github.com/botandrose/nacelle/workflows/CI/badge.svg?branch=master)](https://github.com/botandrose/nacelle/actions?query=workflow%3ACI+branch%3Amaster)

Rails engine for inserting magic blocks into CMS content via cells.

In your CMS content:
```html
<cell name="my_account/form" />
```

The Nacelle middleware will replace this with the result of MyAccountCell#form.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'nacelle'
```

# Optional CKEditor integration

Cells you want to show up in the cell selection menu must inherit from Nacelle::Cell.

```javascript
// ckeditor/config.js

//= require nacelle/ckeditor
...
config.extraPlugins = 'cells';

// finally, add 'InsertCell' to your toolbar config
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

1. Fork it ( https://github.com/botandrose/nacelle/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nacelle-0.6.0 README.md
nacelle-0.5.0 README.md
nacelle-0.4.2 README.md
nacelle-0.4.1 README.md
nacelle-0.4.0 README.md
nacelle-0.3.2 README.md
nacelle-0.3.1 README.md
nacelle-0.3.0 README.md
nacelle-0.2.4 README.md
nacelle-0.2.3 README.md