spree-contrib / spree_editor

Rich text editor for Spree with Image and File uploading in-place.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
112 stars 183 forks source link

Retrieving configuration from a tinymce.yml config file as recommended by TinyMCE_rails #25

Closed maleko closed 12 years ago

maleko commented 12 years ago

Hi. I just made some changes to the gem. I noticed that the TinyMCE config settings were hardcoded into the partial. Also, I read that in TinyMCE_rails gem, they were utilising a YAML file to store the settings. I do believe that it does make sense to follow that principle and as such I modified the partial to retrieve the settings from a YAML file instead. Hope this is more useful and developers won't need to fork the gem to modify the partial.

Cheers Marc