- Move to Bootstrap3-wysihtml5. This is backwards incompatible if you rely on previous events or functions.
- New blockquote button - you can disable it in your initalizer.
- This version is backwards incompatible if you are using custom locales: New keys were added and the javascript locales structure was changed considerably. Please use this file as a reference and update your files accordingly.
- Rescue failed gallery upload (#111 - thanks @rzane).
- Allow uploading images from a url (#112 - thanks @rzane).
- Add a polyfill for Function.prototype.bind (#113 - thanks @rzane).
- Default locale to
en
if translations are missing (#24).
- Fix install generator (#110).
- Allow youtube embed codes (#71 - thanks @markusherzog).
- Fix orange color (#94).
- Fix locale generator (#95).
- Fix event handling for Turbolinks on Internet Explorer (#43).
- Fix helper inclusion when
ApplicationController
is eager loaded (#85).
- Fix editor for hidden textareas in Firefox.
- Do not rely on the
visible
state to check if an elemant was already initialized (#48). - Do not autosave the bootsy resource when an
ImageGallery
is saved (#54). - Bootsy is now compatible with Simple Form
3.1
.
- Updated Carrierwave dependency to
0.10.0
.
- Fixed support to foreign containers.
- Fixed scroll to top when inserting images (#40).
- Warn when the
bootsy:install
generator doesn't find the assets manifests. - Fixed compatibility with Turbolinks (#43).
- Update
mini_magick
dependency to3.7.0
.
- Index editors in
Bootsy
namespace through thetextarea
id
. - Fixed compatibility with nested attributes. Now Bootsy can be used in
fields_for
blocks. - Initialize only visible
bootsy_areas
. Other elements can be initialized by manually callingBootsy.init();
.
- Fixed object reference in
text_area
form helper.
- Fixed param key for scoped models.
- Fixed Glyphicons classes.
- Migrated Bootsy to Bootstrap 3 (backwards incompatible).
- Removed custom events (backwards incompatible).
- Now it's possible to have multiple editors in the same page (thanks @link-er).
- Merged the SimpleForm support into master. You no longer need to use the bootsy-simple_form gem in your project.
- Design and interaction improvements. Bootsy is a lot more 'ajaxy' now, and loads images without flashing. This also changed the way deleting an image works. It no longer 'refreshes the gallery', but instead finds the element to delete, fades it out, and removes it (thanks @anthonycollini).
- Fixed the indent and outdent icons as the icons were reversed from what they should be (thanks @anthonycollini).
z-index
fix to allow the contextual drop-down menus to properly appear over the footer and modal if it includes a longer list (thanks @anthonycollini).- A default message if there are no uploaded images (thanks @anthonycollini).
- Bootsy now uses Bootstrap File Input with auto submission on file input change (thanks @anthonycollini).
- Now Bootsy is compatible with Rails
4.0
- Backwards incompatibility: Bootsy does not support Rails3.2
anymore. We strongly recomend to move on and upgrade outdated projects to Rails4.0
. If you didn't upgrade your project yet, you can use our branch with temporary support for Rails3.2
. - Bootsy now accepts file storage in cloud services like Amazon S3 and others.
In
config/intializers/bootsy.rb
, just set a new attribute calledstorage
as :fog. If you do that, please add 'fog' to your Gemfile and create and configure your service's credentials in an initializer file, as described in Carrierwave's docs. - It is possobile now to delete orphan image galleries. Just call
.destroy_orphans
with a time limit:
Bootsy::ImageGallery.destroy_orphans(1.day.ago)
- Now it's possible to fully clear the editor in the client side, by calling the function
clear()
in your Bootsy area:
Bootsy.areas[0].clear();