function _register(name, editorClass) {
  var editorWrapper = new RegisteredEditor(editorClass);

  if (typeof name === 'string') {
    register(name, editorWrapper);
  }

  registeredEditorClasses.set(editorClass, editorWrapper);
}
Register editor class under specified name.

@param {String} name Editor identification.
@param {Function} editorClass Editor class.