Sha256: 004fdcf0e33d22673b0c25e3eef78b89437b662368b5d57ea4e421b612f5dc0c
Contents?: true
Size: 1015 Bytes
Versions: 2
Compression:
Stored size: 1015 Bytes
Contents
Rails 3.2 Integration for Aloha Editor ================================= The `aloha-rails` gem integrates the [AlohaEditor](http://aloha-editor.org/) editor with the Rails 3.2 asset pipeline. Instructions ------------ **1. Add `aloha-rails` to your Gemfile** gem 'locomotive-aloha-rails', require: 'aloha-rails' Then run `bundle install`. **2. Use AlohaEditor** Add to your application.js: //= require aloha and in your erb / haml /..etc layout = stylesheet_link_tag 'aloha/css/aloha.css' and use AlohaEditor in your view: <script type="text/javascript"> Aloha.ready( function() { // Make #content editable once Aloha is loaded and ready. Aloha.jQuery('#content').aloha(); }); </script> Credits ------- [Sam Pohlenz](https://github.com/spohlenz) for his [tinymce-rails plugin](https://github.com/spohlenz/tinymce-rails) as a blueprint. Contact ------- Feel free to contact me at didier at nocoffee dot fr. Copyright (c) 2013 NoCoffee
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gnuside-aloha-rails-0.23.3 | README.md |
locomotive-aloha-rails-0.23.2.2 | README.md |