README.md in wysiwyg-rails-2.9.8 vs README.md in wysiwyg-rails-3.0.0.pre.beta.1
- old
+ new
@@ -1,175 +1,123 @@
-# Rails Froala WYSIWYG HTML Editor
-
-[![Travis](https://img.shields.io/travis/froala/wysiwyg-rails.svg)](http://travis-ci.org/froala/wysiwyg-rails)
-[![Gem](https://img.shields.io/gem/v/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
-[![Gem](https://img.shields.io/gem/dt/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
-[![license](https://img.shields.io/github/license/froala/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
-
->wysiwyg-rails provides the [Froala WYSIWYG HTML Editor](https://froala.com/wysiwyg-editor) javascript and stylesheets as a Rails engine for use with the asset pipeline.
-
-## Installation
-
-Add this to your Gemfile:
-
-```ruby
-gem "wysiwyg-rails"
-gem "font-awesome-sass"
-```
-To add particular version use as:
-
-```ruby
-gem "wysiwyg-rails", '~> x.x', '>= x.x.x'
-```
-Example:
-```ruby
-gem "wysiwyg-rails", '~> 2.9', '>= 2.9.8'
-```
-
-and run `bundle install`.
-
-Note, you can include your own alternative Font Awesome implementation rather than the `font-awesome-sass` gem if you like. In that case, you'll need to modify/remove the import statements below to work with your implementation.
-
-## Include in assets
-
-In your `application.html.erb`, include the dependency JQuery library:
-
-```
-<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
-```
-
-OR
-
-To add in Gemfile:
-
-```ruby
-gem 'jquery-rails'
-```
-
-and include the in file `application.js.coffee`,
-```coffeescript
-#= require jquery
-#= require jquery_ujs
-```
-
-In your `application.css.scss`, include the css files:
-
-```css
-/*
- @import "froala_editor.min";
- @import "froala_style.min";
- @import "font-awesome-sprockets";
- @import "font-awesome";
- */
-```
-OR
-
-```css
-/*
- @import "froala_editor.min.css";
- @import "froala_style.min.css";
- @import "font-awesome-sprockets.scss";
- @import "font-awesome.scss";
- */
-```
-
-If you want to use the dark theme, then you have to include `themes/dark.min.css` file too.
-
-In your `application.js.coffee`, include the JS file:
-
-```coffeescript
-#= require froala_editor.min.js
-
-$('selector').froalaEditor();
-```
-
-If you need to use any of the [Available Plugins](https://froala.com/wysiwyg-editor/docs/plugins), then you should include those too in your `application.js.coffee` and `application.css.scss`.
-
-```coffeescript
-# Include other plugins.
-#= require plugins/align.min.js
-#= require plugins/char_counter.min.js
-#= require plugins/code_beautifier.min.js
-#= require plugins/code_view.min.js
-#= require plugins/colors.min.js
-#= require plugins/emoticons.min.js
-#= require plugins/entities.min.js
-#= require plugins/file.min.js
-#= require plugins/font_family.min.js
-#= require plugins/font_size.min.js
-#= require plugins/fullscreen.min.js
-#= require plugins/help.min.js
-#= require plugins/image.min.js
-#= require plugins/image_manager.min.js
-#= require plugins/inline_class.min.js
-#= require plugins/inline_style.min.js
-#= require plugins/line_breaker.min.js
-#= require plugins/line_height.min.js
-#= require plugins/link.min.js
-#= require plugins/lists.min.js
-#= require plugins/paragraph_format.min.js
-#= require plugins/paragraph_style.min.js
-#= require plugins/print.min.js
-#= require plugins/quick_insert.min.js
-#= require plugins/quote.min.js
-#= require plugins/save.min.js
-#= require plugins/table.min.js
-#= require plugins/special_characters.min.js
-#= require plugins/url.min.js
-#= require plugins/video.min.js
-
-#= require third_party/embedly.min.js
-#= require third_party/font_awesome.min.js
-#= require third_party/image_aviary.min.js
-#= require third_party/image_tui.min.js
-#= require third_party/spell_checker.min.js
-```
-
-```css
-@import 'plugins/char_counter.min.css';
-@import 'plugins/code_view.min.css';
-@import 'plugins/colors.min.css';
-@import 'plugins/emoticons.min.css';
-@import 'plugins/file.min.css';
-@import 'plugins/fullscreen.min.css';
-@import 'plugins/help.min.css';
-@import 'plugins/image_manager.min.css';
-@import 'plugins/image.min.css';
-@import 'plugins/line_breaker.min.css';
-@import 'plugins/quick_insert.min.css';
-@import 'plugins/special_characters.min.css';
-@import 'plugins/table.min.css';
-@import 'plugins/video.min.css';
-
-@import 'third_party/embedly.min.css';
-@import 'third_party/image_tui.min.css';
-@import 'third_party/spell_checker.min.css';
-```
-
-Similar, if you want to use language translation you have to include the translation file.
-
-```coffeescript
-# Include Language if needed
-#= require languages/ro.js
-```
-
-Then restart your web server if it was previously running.
-
-Note: If working with `.js` files instead of `.coffee`, replace `#` with `//` for the `require` statements as shown below to make it working:
-```
-//= require froala_editor.min.js
-```
-
-## Initialize Editor
-
-Details about initializing the editor can be found in the [Froala WYSIWYG Editor official documentation](https://www.froala.com/wysiwyg-editor/docs).
-
-## Generic
-
-App rails version should be >= 3.2 and < 6.0
-
-## License
-
-The `wysiwyg-rails` project is under MIT license. However, in order to use Froala WYSIWYG HTML Editor plugin you should purchase a license for it.
-
-Froala Editor has [3 different licenses](https://froala.com/wysiwyg-editor/pricing).
-For details please see [License Agreement](https://froala.com/wysiwyg-editor/terms).
+# Rails Froala WYSIWYG HTML Editor
+
+[![Travis](https://img.shields.io/travis/froala/wysiwyg-rails.svg)](http://travis-ci.org/froala/wysiwyg-rails)
+[![Gem](https://img.shields.io/gem/v/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
+[![Gem](https://img.shields.io/gem/dt/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
+[![license](https://img.shields.io/github/license/froala/wysiwyg-rails.svg)](https://rubygems.org/gems/wysiwyg-rails/versions/2.1.0)
+
+>wysiwyg-rails provides the [Froala WYSIWYG HTML Editor](https://froala.com/wysiwyg-editor) javascript and stylesheets as a Rails engine for use with the asset pipeline.
+
+## Installation
+
+Add this to your Gemfile:
+
+```ruby
+gem "wysiwyg-rails"
+```
+
+and run `bundle install`.
+
+## Include in assets
+
+In your `application.css.scss`, include the css file:
+
+```css
+/*
+ @import "froala_editor.min";
+ @import "froala_style.min";
+ */
+```
+
+If you want to use the dark theme, then you have to include `themes/dark.min.css` file too.
+
+In your `application.js.coffee`, include the JS file:
+
+```coffeescript
+#= require froala_editor.min.js
+
+new FroalaEditor('selector',{
+
+});
+```
+
+If you need to use any of the [Available Plugins](https://froala.com/wysiwyg-editor/docs/plugins), then you should include those too in your `application.js.coffee` and `application.css.scss`.
+
+```coffeescript
+# Include other plugins.
+#= require plugins/align.min.js
+#= require plugins/char_counter.min.js
+#= require plugins/code_beautifier.min.js
+#= require plugins/code_view.min.js
+#= require plugins/colors.min.js
+#= require plugins/emoticons.min.js
+#= require plugins/entities.min.js
+#= require plugins/file.min.js
+#= require plugins/font_family.min.js
+#= require plugins/font_size.min.js
+#= require plugins/fullscreen.min.js
+#= require plugins/help.min.js
+#= require plugins/image.min.js
+#= require plugins/image_manager.min.js
+#= require plugins/inline_class.min.js
+#= require plugins/inline_style.min.js
+#= require plugins/line_breaker.min.js
+#= require plugins/line_height.min.js
+#= require plugins/link.min.js
+#= require plugins/lists.min.js
+#= require plugins/paragraph_format.min.js
+#= require plugins/paragraph_style.min.js
+#= require plugins/print.min.js
+#= require plugins/quick_insert.min.js
+#= require plugins/quote.min.js
+#= require plugins/save.min.js
+#= require plugins/table.min.js
+#= require plugins/special_characters.min.js
+#= require plugins/url.min.js
+#= require plugins/video.min.js
+
+#= require third_party/embedly.min.js
+#= require third_party/font_awesome.min.js
+#= require third_party/image_tui.min.js
+#= require third_party/spell_checker.min.js
+```
+
+```css
+@import 'plugins/char_counter.min.css';
+@import 'plugins/code_view.min.css';
+@import 'plugins/colors.min.css';
+@import 'plugins/emoticons.min.css';
+@import 'plugins/file.min.css';
+@import 'plugins/fullscreen.min.css';
+@import 'plugins/help.min.css';
+@import 'plugins/image_manager.min.css';
+@import 'plugins/image.min.css';
+@import 'plugins/line_breaker.min.css';
+@import 'plugins/quick_insert.min.css';
+@import 'plugins/special_characters.min.css';
+@import 'plugins/table.min.css';
+@import 'plugins/video.min.css';
+
+@import 'third_party/embedly.min.css';
+@import 'third_party/image_tui.min.css';
+@import 'third_party/spell_checker.min.css';
+```
+
+Similar, if you want to use language translation you have to include the translation file.
+
+```coffeescript
+# Include Language if needed
+#= require languages/ro.js
+```
+
+Then restart your web server if it was previously running.
+
+## Initialize Editor
+
+Details about initializing the editor can be found in the [Froala WYSIWYG Editor official documentation](https://www.froala.com/wysiwyg-editor/docs).
+
+## License
+
+The `wysiwyg-rails` project is under MIT license. However, in order to use Froala WYSIWYG HTML Editor plugin you should purchase a license for it.
+
+Froala Editor has [3 different licenses](https://froala.com/wysiwyg-editor/pricing).
+For details please see [License Agreement](https://froala.com/wysiwyg-editor/terms).