def tinymce_configuration(config=:default, options={})
      options, config = config, :default if config.is_a?(Hash)
      options.stringify_keys!

      base_configuration = TinyMCE::Rails.configuration

      if base_configuration.is_a?(MultipleConfiguration)
        base_configuration = base_configuration.fetch(config)
      end

      base_configuration.merge(options)
    end
def tinymce_configuration(config=:default, options={})
      options, config = config, :default if config.is_a?(Hash)
      options.stringify_keys!

      base_configuration = TinyMCE::Rails.configuration

      if base_configuration.is_a?(MultipleConfiguration)
        base_configuration = base_configuration.fetch(config)
      end

      base_configuration.merge(options)
    end
Returns the TinyMCE configuration object.
 It should be converted to JavaScript (via #to_javascript) for use within JavaScript.