New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Areablock swallows following bricks #3545

Open
mittererr opened this Issue Oct 29, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@mittererr
Contributor

mittererr commented Oct 29, 2018

When adding the brick

<div class="brick-row12-fluid container-fluid {{ pimcore_select(bgColor).getData() }}">
    {{ pimcore_areablock("row12-fluid", {
        "allowed": bricksAllowedInContainer
        })
    }}
</div>

into template file, all the following bricks are "swallowed" by this in backend, frontend is fine.

In backend the HTML source looks like:

...
<div class="brick-row12-fluid container-fluid bg-gradient-gentian-sky color-white">
   <script>...</script>
   <div id="pimcore_editable_content_4_row12-fluid" ...> ... </div>
   <div id ="ext-element-49" ...> ... </div>
</div>
...

In my opinion it should look like:

...
<div class="brick-row12-fluid container-fluid bg-gradient-gentian-sky color-white">
   <script>...</script>
   <div id="pimcore_editable_content_4_row12-fluid" ...> ... </div>
</div>
<div class="my-next-container-or-whatever">
   <div id ="ext-element-49" ...> ... </div>
</div>
...

This is still the way it is rendered in frontend. Why not in backend? It looks like some kind of a missing </div>?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment