Closed felixbuenemann closed 11 years ago
I think that is a good idea. Could you work up the pull request for it?
Yes, I think I'll have time for that next week.
I've made an update to allow this which is described here: https://github.com/spree/spree_editor#configuration
Note that it is SpreeEditor::Config NOT Spree::Editor::Config as you suggested.
Thanks! I was kinda busy last week, so I didn't get around to doing a PR.
I think spree_editor should publish an instance of it's configuration under
Spree::Editor::Config
, similar to spree or other plugins like spree_address_book.That way we could easily add configuration from an initializer:
See https://github.com/romul/spree_address_book/blob/master/lib/spree_address_book.rb for an example.