spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

configuration setter #85

Closed sprestel closed 11 years ago

sprestel commented 11 years ago

allows to use a diffrent configuration than config/tinymce.yml

for example: new_config = TinyMCE::Rails.configuration.load(MyGem::Engine.tinymce_configuration_file) TinyMCE::Rails.configuration = new_config