Implement HTML comment annotations for Regions, replace HTML wrappers

Created on 13 January 2025, 7 days ago

Overview

Currently, in the HTML preview regions are denominated with a wrapping <div data-xb-region=""> as follows:

<div data-xb-region="highlighted" data-xb-uuid="highlighted">
    <div class="region region--highlighted grid-full layout--pass--content-medium">
    </div>
</div>

The outer div should be removed and replaced with HTML comments. <!-- xb-region-start-highlighted --> and <!-- xb-region-end-highlighted -->

Proposed resolution

Once the HTML comments are in, the React app will need to be updated to find regions based on those comments, however I believe it might make sense to complete the work on Focus mode for global regions Active first.

Proposal: Adjust representation of Regions in the Layers UI Postponed: needs info is also related.

User interface changes

📌 Task
Status

Active

Version

0.0

Component

Page builder

Created by

🇬🇧United Kingdom jessebaker

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

Comments & Activities

Production build 0.71.5 2024