def tinymce_configurations_javascript(options={})
      javascript = []

      TinyMCE::Rails.each_configuration do |name, config|
        config = config.merge(options) if options.present?
        javascript << "TinyMCERails.configuration.#{name} = #{config.to_javascript};".html_safe
      end

      safe_join(javascript, "\n")
    end
def tinymce_configurations_javascript(options={})
      javascript = []

      TinyMCE::Rails.each_configuration do |name, config|
        config = config.merge(options) if options.present?
        javascript << "TinyMCERails.configuration.#{name} = #{config.to_javascript};".html_safe
      end

      safe_join(javascript, "\n")
    end
Returns the JavaScript code for initializing each configuration defined within tinymce.yml.