Is flat (single-level) nesting of DIV spans supported? #14477
-
DescriptionLet’s consider the following example, which essentially contains several blocks intended for different groups of recipients, all of which are enclosed within a block that is definitely not supposed to be included in the final version.: Is and should this kind of structure (div span including several blocks, or to put it another way: the last block delimiter belongs to the first block delimiter shown in the example) be supported, or is nesting generally problematic? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
Unclear, what you are asking here. If you want three callouts (or whatever blocks) to be conditioned on "final" profile this is the DRY syntax. In most cases you will even want to nest as |
Beta Was this translation helpful? Give feedback.
-
|
@mcanouil Of course, one could repeat “{.content-visible unless-profile=‘final’}” for each individual block, but we’re all programmers here, after all. That can’t be the solution. So if your point is that this should work without any problems, then that would be perfectly sufficient for me. |
Beta Was this translation helpful? Give feedback.
It should. I'm using this all the time when writing multi-formats/audiences documents.
Side note: there is no need to ping on a thread with only two.