-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from keshavbiswa/readme
fixed readme
- Loading branch information
Showing
1 changed file
with
24 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |