Hello DW guys,
I am trying to work with ParagraphText in paragraph template here
And trying using something like this:
<!--@If Defined(ParagraphText)--> <div class="boxText"> <!--@ParagraphText--> </div> <!--@EndIf(ParagraphText)-->
eventually what I did expect was to hide "boxText" class div if paragraph text is empty
But eventually this is the markup I am getting:
So apperently paragraph tag is always defined, it uses some kind of A tag, not sure why or how, but it contains paragraph id in the "name" field.
And so my question is what is the correct to do the above? :-)
//Dmitrij