froala / wysiwyg-rails

Ruby gem for Froala jQuery WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
464 stars 101 forks source link

Rails Readme Changes V2 #94

Closed hitesh710 closed 4 years ago

hitesh710 commented 4 years ago

The readme of Rails(v2) needs to be updated

1)Including version in gemfile. gem 'wysiwyg-rails', '~> 2.9', '>= 2.9.6' instead of gem wysiwyg-rails

2)Adding this code snippet to application.js(.coffee) file throws error on the first line, the editor launches without adding these two lines too. So this snippet needs to be reviewed.

#= require froala_editor.min.js
$('selector').froalaEditor();
hitesh710 commented 4 years ago

Created by mistake.