Bootsy is a WYSIWYG solution for Rails based on Bootstrap-wysihtml5 which includes image uploads via CarrierWave.
- Image modal works with bootstrap-sass version 3.1.1
- Parser rules removed (stupid thing that edited your HTML against your will)
- Nivo Lighbox support for images, out of box
- Alignment options for the editor
- Add this to your Gemfile
gem 'bootsy', :git => 'git@github.com:mlensment/bootsy.git'
-
Follow instructions from the official Github page
-
Install Nivo Lighbox to your project
-
Add this to your application.css.scss
@import "bootsy";
- Add this to your main javascript file
var ready = function() {
$('a.nivo-image').nivoLightbox();
};
$(document).ready(ready);
$(document).on('page:load', ready);
MIT License. Copyright 2012-2014 Volmer Soares