This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Mini Cart inner blocks can be removed if unlocking them with the new WP 6.0 UI #6309
Labels
block: mini-cart
Issues related to the Mini-Cart block.
type: bug
The issue/PR concerns a confirmed bug.
Describe the bug
WP 6.0 introduces a UI to lock/unlock blocks. That makes it possible to remove Mini Cart inner blocks if the user previously unlocks them.
To reproduce
Kooha-04-25-2022-16-55-19.mp4
Expected behavior
It shouldn't be possible to remove the Mini Cart Products Tabl block.
More info
Gutenberg seems to have introduced a
supports.__experimentalLock
flag that might be useful to prevent this (WordPress/gutenberg#39568).The text was updated successfully, but these errors were encountered: