You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The isElligible function is the main issue. customOverlayColor or overlayColor are currently in use and valid block attributes for the cover block, so I don't understand why this implementation checks for them. It causes the deprecation to match against perfectly normal use cases of the block.
Activity
talldan commentedon Aug 14, 2024
Thanks for reporting, I could reproduce it. It looks to be the same kind of issue we had for the group block recently (see - #63837).
There's a block deprecation that causes the attributes to be stripped:
gutenberg/packages/block-library/src/cover/deprecated.js
Lines 401 to 412 in 46f9fe0
The
isElligiblefunction is the main issue.customOverlayColororoverlayColorare currently in use and valid block attributes for the cover block, so I don't understand why this implementation checks for them. It causes the deprecation to match against perfectly normal use cases of the block.The issue was introduced in #54054 (cc @ajlende)
andrewserong commentedon Sep 6, 2024
I think I have a fix for this over in #65105.