Skip to content

[Spree-0.30+] replaces all spree admin textareas by imperavi-redactor 6.1.1+

Notifications You must be signed in to change notification settings

x2es/spree_admin_redactor

Repository files navigation

SpreeAdminRedactor

This is spree extension which replaces all admin’s textareas by Imperavi Redactor (github.com/x2es/imperavi-redactor)

Original redactor sources and russian documentation: imperavi.ru/redactor

Works with Spree-0.30+

Usage

Just include gem in your Gemfile:

gem 'spree_admin_redactor', :git => 'git://github.com/x2es/spree_admin_redactor.git'

And install assets (from your app):

rake spree_admin_redactor:install:assets

Excluding an actions

If you want to disable admin_redactor for some action, then you can define constant like

ADMIN_REDACTOR_EXCLUDES = [{:controller => 'admin/products', :action => 'edit'}]

(this was fast fix - this should be refactored in future)

Inspirited by

https://github.com/davidnorth/spree-ckeditor

About

[Spree-0.30+] replaces all spree admin textareas by imperavi-redactor 6.1.1+

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published