Change record status: 
Project: 
Introduced in branch: 
7.x-2.x
Introduced in version: 
7.x-2.3
Description: 

Editor definitions can now be altered by implementing hook_wysiwyg_editor_alter().
Implementations get passed an array of all editor definitions, keyed by their internal name.
It can for example provide custom callbacks or make overrides for certain editor versions.

Please note that this hook is only recommended for site-specific modules. Little or no consideration for contrib modules implementing the hook can be taken when changes to the editor definitions are made as the consequences if any of their alterations will be unknown.

Example of overriding TinyMCE's version detection callback name:

/**
 * Implements hook_wysiwyg_editor_alter().
 */
function MYMODULE_wysiwyg_editor_alter(&$editors) {
  $editors['tinymce']['version callback'] = 'my_own_version_callback_for_tinymce';
}

See wysiwyg.api.php and the editor implementations in wysiwyg/editors/editorname.inc for examples of the editor definitions.

Impacts: 
Site builders, administrators, editors
Module developers