-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove Link settings PanelBody from Button block #24070
Conversation
Removes Link settings, though now there's no way to add rel
Size Change: -71 B (0%) Total Size: 1.15 MB
ℹ️ View Unchanged
|
That would need to be handled first before this can be merged. An interim solution might be to keep the Link Settings panel, but just remove the Open In New Tab toggle. |
Fixed via #29664. |
For context, the rel attribute was moved to the advanced settings (still in the sidebar); and Open in New Tab Toggle is still accessible in the Link UI. |
Description
Closes #23768 by removing the duplicate Link Settings PanelBody, following the pattern of removing duplicate methods for the same actions, as seen in the Heading block #20246.
One side-effect (that we'll need to address) is that the Link Settings PanelBody allowed for setting the
rel
attribute. I suggest that this is added to the URLPicker within the Button block.How has this been tested?
WP 5.5 RC
Screenshots
Types of changes
Removing duplicate UI.
Checklist: