Incompatible with Layout builder drag and drop

Created on 6 December 2018, about 6 years ago
Updated 31 January 2023, almost 2 years ago

For layout builder to properly allow drag/drop, you need to be printing region_attributes per region, in all of the Bootstrap layout templates, it instead is printing the region itself with it's own attributes.

Instead of using regions as their own variables like:

  {% if right.content %}
  <{{ right.wrapper }}{{ right.attributes }}>
    {{ right.content }}
  </{{ right.wrapper }}>
  {% endif %}

It should instead append the right attributes to the region_attributes.right, and then print like this:

  {% if content.right %}
    <div {{ region_attributes.right }}>
      {{ content.right }}
    </div>
  {% endif %}
🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇨🇦Canada b_sharpe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024