Incompatible with Layout builder drag and drop

Created on 6 December 2018, over 5 years ago
Updated 31 January 2023, over 1 year 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.69.0 2024