Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Jun 10, 2025

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 i-just requested a review from brandonkelly June 10, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant