Skip to content

Commit

Permalink
Merge pull request #1 from keshavbiswa/readme
Browse files Browse the repository at this point in the history
fixed readme
  • Loading branch information
keshavbiswa authored Oct 14, 2020
2 parents a1f7143 + a6f1c08 commit f4e60d8
Showing 1 changed file with 24 additions and 28 deletions.
52 changes: 24 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,36 @@
# Administrate::Field::Tinymce

Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/administrate/field/tinymce`. To experiment with that code, run `bin/console` for an interactive prompt.
A plugin for adding [TinyMCE] support in [Administrate].

TODO: Delete this and the text above, and describe your gem

## Installation
## Usage

Add this line to your application's Gemfile:
Add [tinymce-rails] and administrate-field-tinymce to your `Gemfile`:

```ruby
gem 'administrate-field-tinymce'
gem "tinymce-rails"
gem "administrate-field-tinymce", "~> 0.0.1"
```

And then execute:

$ bundle install

Or install it yourself as:

$ gem install administrate-field-tinymce

## Usage

TODO: Write usage instructions here

## Development
Run:

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also 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`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/administrate-field-tinymce.
```bash
$ bundle install
```

Add require javascripts to your manifest.js

## License
```
//= link administrate-field-tinymce/application.js
```


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

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
[TinyMce]: https://github.com/tinymce/tinymce
[Administrate]: https://github.com/thoughtbot/administrate
[tinymce-rails]: https://github.com/spohlenz/tinymce-rails

0 comments on commit f4e60d8

Please sign in to comment.