diff --git a/README.md b/README.md index a30dc94..67acf4d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ActiveAdmin Quill Editor [![Gem Version](https://badge.fury.io/rb/activeadmin_quill_editor.svg)](https://badge.fury.io/rb/activeadmin_quill_editor) [![CircleCI](https://circleci.com/gh/blocknotes/activeadmin_quill_editor.svg?style=svg)](https://circleci.com/gh/blocknotes/activeadmin_quill_editor) -An Active Admin plugin to use [Quill Rich Text Editor](https://github.com/quilljs/quill) +An Active Admin plugin to use [Quill Rich Text Editor](https://github.com/quilljs/quill) in form fields. ![screenshot](screenshot.png) @@ -18,7 +18,7 @@ An Active Admin plugin to use [Quill Rich Text Editor](https://github.com/quillj ``` - Use the input with `as: :quill_editor` in Active Admin model conf -Why 2 separated scripts? In this way you can include a different version of *quill editor* if you like. +Why 2 separated scripts/styles? In this way you can include a different version of *quill editor* if you like. > **UPDATE FROM VERSION <= 2.0**: please add to your _app/assets/stylesheets/active_admin.scss_ the line `@import 'activeadmin/quill_editor/quill.snow';` @@ -44,11 +44,11 @@ Why 2 separated scripts? In this way you can include a different version of *qui ### Toolbar buttons configuration ```ruby -f.input :description, as: :quill_editor, input_html: {data: {options: {modules: {toolbar: [['bold', 'italic', 'underline'], ['link']]}, placeholder: 'Type something...', theme: 'snow'}}} +f.input :description, as: :quill_editor, input_html: { data: { options: { modules: { toolbar: [['bold', 'italic', 'underline'], ['link']] }, placeholder: 'Type something...', theme: 'snow' } } } ``` ## Notes -- Upload functions (Images, Documents, Files, etc.) are not implemented yet +- Upload features (images/documents/files): not tested yet. ## Do you like it? Star it! If you use this component just star it. A developer is more motivated to improve a project when there is some interest. @@ -60,4 +60,4 @@ Take a look at [other Active Admin components](https://github.com/blocknotes?utf - The good guys that opened issues and pull requests from time to time ## License -- The gem is available as open-source under the terms of the [MIT](LICENSE.txt) +The gem is available as open-source under the terms of the [MIT](LICENSE.txt). diff --git a/lib/activeadmin/quill_editor/version.rb b/lib/activeadmin/quill_editor/version.rb index d0bd49a..32b28ef 100644 --- a/lib/activeadmin/quill_editor/version.rb +++ b/lib/activeadmin/quill_editor/version.rb @@ -2,6 +2,6 @@ module ActiveAdmin module QuillEditor - VERSION = '0.2.8' + VERSION = '0.2.9' end end