code: function paragraphHasNoText( text ) {
  	// Strip links and check if paragraph consists of links only
  	text = removeLinksFromText( text );
  	if ( text === "" ) {
  		return true;
  	}
  
  	text = removeImagesFromText( text );
  	if ( text === "" ) {
  		return true;
  	}
  
  	// Remove empty divisions from the text
  	const emptyDivisions = findEmptyDivisions( text );
  	if ( emptyDivisions.length < 1 ) {
  		return false;
  	}
  
  	emptyDivisions.forEach( function( emptyDivision ) {
  		text = text.replace( emptyDivision, "" );
  	} );
  
  	return text === "";
  }
docs: Checks if the paragraph has no text.
  
  @param {string} text The text string to analyze.
  
  @returns {boolean} True if the paragraph has no text, false otherwise.