Problem/Motivation
drowl_paragraphs_type_markup content is treated as empty and not output at all, if it contains no visible text.
If you for example only enter a script or divs without content, the paragraph is not output at all. You can test this by simply adding one of the following contents for the markup paragraph content field:
- <script>alert('Hello world');</script>
- <div id="container123"></div>
Steps to reproduce
Proposed resolution
Find a way to disable the empty content check for this paragraphs output and always render the results.
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
anybodyComment #3
anybodyThe reason was the empty region handling even for paragraphs, as layout_paragraphs (as the name says) contain layouts and layouts contain regions. And regions contain empty checks.
So we have to ensure that the empty check always returns FALSE, whatever the markup paragraph contains. It should always be rendered.
Comment #5
anybodyWe also need a fix for 3.x, where the submodule didn't exist yet. So I'll create it there and align the details to 3.x.
Comment #7
anybodyFixed in 3.x and 4.x!