Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Add block identification attributes and fix editor preview compatibility - #354

Merged
JKinnez merged 9 commits into
mainfrom
feature/sc-2160-actions-on-preview-blocks
Dec 22, 2025
Merged

Add block identification attributes and fix editor preview compatibility#354
JKinnez merged 9 commits into
mainfrom
feature/sc-2160-actions-on-preview-blocks

Conversation

@JKinnez

@JKinnez JKinnez commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

Added data-block-key and data-block-name attributes to all block elements across 11 sections to enable block-level actions in the theme editor preview. Fixed mosaic section CSS to use class-based selectors instead of :first-child, preventing layout breaks when the editor injects preview UI elements between block containers.

Removed overflow: hidden and contain: content CSS properties from carousel, collections, images, mosaic, and numbered-blocks that were clipping editor toolbars and overlays during preview mode.

Actions on preview blocks

Comment thread assets/carousel.css
@JKinnez
JKinnez requested a review from srgzlb December 19, 2025 08:48
Comment thread assets/carousel.css Outdated
Comment thread assets/mosaic.css Outdated
Comment thread assets/mosaic.css Outdated
Comment thread assets/mosaic.css Outdated
Comment thread assets/carousel.css
@JKinnez
JKinnez requested a review from srgzlb December 22, 2025 07:54
@JKinnez
JKinnez merged commit 09865d7 into main Dec 22, 2025
2 checks passed
@JKinnez
JKinnez deleted the feature/sc-2160-actions-on-preview-blocks branch December 22, 2025 12:51
@dabrorius dabrorius removed the review label Dec 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants