Reusable custom blocks not cleaned out of Layout Overrides

Created on 7 October 2021, over 2 years ago
Updated 25 September 2023, 8 months ago

When using the Custom Block Library, if a reusable custom block is deleted, it is not removed from override layouts where it was placed. Instead, a Broken Block Message is displayed.

Expected behavior:
Deleting a reusable custom block should result in the block being removed from layout overrides where it is used.

Additional:
While Layout Builder has added some tracking for inline blocks created via layout builder(see issue 2957425 β†’ ), it does not appear to track usage of reusable blocks, which would allow for some kind of cleanup, which seems to be in the original spirit of that issue.

This feature of reusable blocks in Layout Builder Overrides is a very attractive one, but this kind of breakage

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated about 11 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States R_H-L

Live updates comments and jobs are added and updated live.
  • Blocks-Layouts

    Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.

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