code: function( image ) {
  			// Bring editor focused to restore selection.
  			var editor = this.editor,
  				sel;
  
  			if ( image.bookmarks ) {
  				editor.focus();
  				// Retrieve the selection beforehand. (#8324)
  				sel = editor.getSelection();
  			}
  
  			// Start transaction - do not allow any mutations to the
  			// snapshots stack done when selecting bookmarks (much probably
  			// by selectionChange listener).
  			this.locked = { level: 999 };
  
  			this.editor.loadSnapshot( image.contents );
  
  			if ( image.bookmarks )
  				sel.selectBookmarks( image.bookmarks );
  			else if ( CKEDITOR.env.ie ) {
  				// IE BUG: If I don't set the selection to *somewhere* after setting
  				// document contents, then IE would create an empty paragraph at the bottom
  				// the next time the document is modified.
  				var $range = this.editor.document.getBody().$.createTextRange();
  				$range.collapse( true );
  				$range.select();
  			}
  
  			this.locked = null;
  
  			this.index = image.index;
  			this.currentImage = this.snapshots[ this.index ];
  
  			// Update current image with the actual editor
  			// content, since actualy content may differ from
  			// the original snapshot due to dom change. (#4622)
  			this.update();
  			this.refreshState();
  
  			editor.fire( 'change' );
  		}
docs: Sets editor content/selection to the one stored in `image`.
  
  @param {CKEDITOR.plugins.undo.Image} image