addNewObjectData ( numberOfNewCells ) {
		if ( numberOfNewCells > 0 ) {
			const {
				objectData,
			} = this.props.attributes;

			const oldLength = objectData.length;

			for ( let gridIndex = oldLength; gridIndex < oldLength + numberOfNewCells; gridIndex++ ) {
				objectData[ gridIndex ] = {
					objectID    : null,
					imgURL      : null,
					imgIndex    : 0,
					objectURL   : null,
					objectTitle : null,
				}
			}
		}
	}
/**
	 * Adds new placeholder cells to the objectData when the total number of
	 * cells increases.
	 * 
	 * @param {number} numberOfNewCells The number of new cells to add.
	 */
Adds new placeholder cells to the objectData when the total number of
cells increases.

@param {number} numberOfNewCells The number of new cells to add.
Adds new placeholder cells to the objectData when the total number of cells increases . @param { number } numberOfNewCells The number of new cells to add .
addNewObjectData ( numberOfNewCells ) {
		if ( numberOfNewCells > 0 ) {
			const {
				objectData,
			} = this.props.attributes;
			const oldLength = objectData.length;
			for ( let gridIndex = oldLength; gridIndex < oldLength + numberOfNewCells; gridIndex++ ) {
				objectData[ gridIndex ] = {
					objectID    : null,
					imgURL      : null,
					imgIndex    : 0,
					objectURL   : null,
					objectTitle : null,
				}
			}
		}
	}
addNewObjectData ( numberOfNewCells ) { if ( numberOfNewCells > 0 ) { const { objectData , } = this . props . attributes ; const oldLength = objectData . length ; for ( let gridIndex = oldLength ; gridIndex < oldLength + numberOfNewCells ; gridIndex ++ ) { objectData [ gridIndex ] = { objectID : null , imgURL : null , imgIndex : 0 , objectURL : null , objectTitle : null , } } } }
Adds new placeholder cells to the objectData when the total number of
 cells increases.
Adds new placeholder cells to the objectData when the total number of cells increases .