cms icon indicating copy to clipboard operation
cms copied to clipboard

only show copy all action menu item if the field is part of an element

Open i-just opened this issue 8 months ago • 0 comments

Description

Prevents the “Copy all {type}” action menu item from showing for the Matrix field outside an element context.

I also opened a second PR for this issue, which prevents the item from being added altogether, instead of only hiding it when the disclosure menu is opened; however, it contains a potentially breaking change, so it’s targeting 5.8 for now.

Note: In 5.8, there are additional Expand and Collapse action menu items, which are already hidden when the disclosure menu is opened.

Related issues

#17404

i-just avatar Jun 10 '25 08:06 i-just