Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't fail if tinymce or ckeditor are not present
  • Loading branch information
ssendev committed May 4, 2014
1 parent 03d7322 commit 7c02d09
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/spree_editor.rb
@@ -1,6 +1,12 @@
require 'ckeditor'
begin
require 'ckeditor'
rescue LoadError
end
require 'spree_core'
require 'spree_editor/engine'
require 'spree_editor/version'
require 'tinymce-rails'
begin
require 'tinymce-rails'
rescue LoadError
end
require 'coffee_script'

0 comments on commit 7c02d09

Please sign in to comment.