code: function (defaultSettings) {
          var baseUrl, suffix;
  
          baseUrl = defaultSettings.base_url;
          if (baseUrl) {
            this.baseURL = new URI(this.documentBaseURL).toAbsolute(baseUrl.replace(/\/+$/, ''));
            this.baseURI = new URI(this.baseURL);
          }
  
          suffix = defaultSettings.suffix;
          if (defaultSettings.suffix) {
            this.suffix = suffix;
          }
  
          this.defaultSettings = defaultSettings;
  
          var pluginBaseUrls = defaultSettings.plugin_base_urls;
          for (var name in pluginBaseUrls) {
            AddOnManager.PluginManager.urls[name] = pluginBaseUrls[name];
          }
        }
docs: Overrides the default settings for editor instances.
  
  @method overrideDefaults
  @param {Object} defaultSettings Defaults settings object.