code: function() {
  			var instances = CKEDITOR.instances,
  				name, instance;
  
  			for ( name in instances ) {
  				instance = instances[ name ];
  
  				if ( instance.element.equals( this ) && instance.elementMode != CKEDITOR.ELEMENT_MODE_APPENDTO )
  					return instance;
  			}
  
  			return null;
  		}
docs: Retrieves an editor instance which is based on this element (if any).
  It basically loops over {@link CKEDITOR#instances} in search for an instance
  that uses the element.
  
  var element = new CKEDITOR.dom.element( 'div' );
  element.appendTo( CKEDITOR.document.getBody() );
  CKEDITOR.replace( element );
  alert( element.getEditor().name ); // 'editor1'
  
  @returns {CKEDITOR.editor} An editor instance or null if nothing has been found.