A simple integration of https://github.com/xing/wysihtml5 for the rails asset pipeline.
The version will follow the latest release.
Installation
gem 'rails-wysihtml5'
bundle install
Then put in your application.js:
//= require wysihtml5
//= require wysihtml5/parser_rules/advanced
If you want to customize parser rules
rails generate wysihtml5:parser_rules
will copy rules to app/assets/javascripts/wysihtml5/parser_rules