code: function BlocksToMoveVisitor() {
  	this.visit = function(element) {
  		if (isBlock(element)) {
  			blocksToMove.push(findBlock(element.id));
  			return false;
  		}
  		return true;
  	}
  }
docs: this visitor is used to find blocks nested in the element being moved.