-
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
Pass entire link value on toggle of setting on Link Preview #53949
Conversation
Size Change: -15 B (0%) Total Size: 1.51 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes a problem where extending the link control would make the new oepn in new tab checkbox unclickable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM too. Did the bug get into WP 6.4? (i.e. do we need a point release?)
Do you mean 6.3? I tested on that without the Plugin active and the control isn't there on the preview step at all so I don't think it landed. It is in the Plugin though... |
Yes I meant 6.3 🤦 |
@scruffian @draganescu I think this one is worth a minor point release. Do you agree? |
8f9ba48
to
f71fc3c
Compare
Following the guide I have pre-emptively assigned:
Once this PR is merged I can run the workflow for a minor release. |
I am manually cherry picking this into the Gutenberg 16.5.1 minor release. |
What?
Fixes potential bug with not passing the entire
value
object ononChange
ofLinkControl
when togglingOpen in new tab
on preview mode.Why?
Need to always fulfil contract of passing full value object.
How?
Pass full object
onChange
.Testing Instructions
Check tests pass.
Testing Instructions for Keyboard
Screenshots or screencast