This extension provides an inline rich-text editor for Spree. It implements different types of editors:
- WYM Editor
- TinyMCE
- YUI Rich Editor (N.B. not currently available in Spree 0.70.x and newer)
-
Add the Spree Editor gem to your Gemfile:
gem 'spree_editor', :git => 'git://raw.github.com/spree/spree_editor.git'
gem 'tinymce-rails', '>= 3.4.7.0.1'
-
Install the gem:
bundle install
-
Install the assets:
rails g spree_editor:install
To obtain support for multiple languages with TinyMCE add tinymce-rails-langs to your Gemfile:
`gem 'tinymce-rails-langs'`
TinyMCE will not be loaded unless it finds a language package matching your Spree::Config.default_locale
.
NOTE: currently YUI Rich Editor is not yet 3.1 asset ready. The only editors currently working on Spree 0.70.x are WYMEditor and TinyMCE.
Copyright (c) 2010 [divineforest], released under the New BSD License