Does anyone know if there's a way to evaluate whether a custom content block is empty or not using ampscript or SSJS?
For example, if there's a way to detect whether <custom type="content" name="header">
is empty and if it is, then to skip it altogether.
By default, if the custom content block is left empty then it automatically collapses to 1px high. The problem is that when it collapses it creates a 1px space between other content blocks throughout the template.
Well, thanks in advance everyone!