mlensment / bootsy

A beautiful wysiwyg editor with image upload for Rails

Home Page:http://volmer.github.io/bootsy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bootsy

Bootsy is a WYSIWYG solution for Rails based on Bootstrap-wysihtml5 which includes image uploads via CarrierWave.

What's improved in this fork?

  • 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

Installation

  1. Add this to your Gemfile
gem 'bootsy', :git => 'git@github.com:mlensment/bootsy.git'
  1. Follow instructions from the official Github page

  2. Install Nivo Lighbox to your project

  3. Add this to your application.css.scss

@import "bootsy";
  1. Add this to your main javascript file
var ready = function() {
  $('a.nivo-image').nivoLightbox();
};

$(document).ready(ready);
$(document).on('page:load', ready);

License

MIT License. Copyright 2012-2014 Volmer Soares

About

A beautiful wysiwyg editor with image upload for Rails

http://volmer.github.io/bootsy

License:MIT License


Languages

Language:JavaScript 82.5%Language:Ruby 16.7%Language:CSS 0.8%