code: function( newSnapshot ) {
  			if ( !this.snapshots.length )
  				return false;
  
  			var snapshots = this.snapshots,
  				lastImage = snapshots[ snapshots.length - 1 ];
  
  			if ( lastImage.equalsContent( newSnapshot ) ) {
  				if ( !lastImage.equalsSelection( newSnapshot ) ) {
  					snapshots[ snapshots.length - 1 ] = newSnapshot;
  					this.currentImage = newSnapshot;
  					return true;
  				}
  			}
  
  			return false;
  		}
docs: Amends the last snapshot and changes its selection (only in case when content
  is equal between these two).
  
  @since 4.4.4
  @param {CKEDITOR.plugins.undo.Image} newSnapshot New snapshot with new selection.
  @returns {Boolean} Returns `true` if selection was amended.