Update the align plugin to find the nearest block level element when applying the text-align property.