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

Anybody created an issue. See original summary.

anybody’s picture

Issue summary: View changes
anybody’s picture

The 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.

  • Anybody committed b9f2285 on 4.x
    Issue #3292881: drowl_paragraphs_type_markup content is treated as empty...
anybody’s picture

Version: 4.x-dev » 8.x-3.x-dev

We 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.

  • Anybody committed bd8910a on 8.x-3.x
    Issue #3292881 by Anybody: drowl_paragraphs_type_markup content is...
anybody’s picture

Status: Active » Fixed

Fixed in 3.x and 4.x!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.