-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Button Block does not prefix a URL with http:// #6841
Copy link
Copy link
Closed
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Assignees
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)Link components (LinkControl, URLInput) and integrations (RichText link formatting)[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
I had a feeling that this issue issue may have been raised before but I can't find it.
When you enter a url for a button, you can't hit the
Returnkey to apply your changes.On top of that, if you type a url without the
https://it displays a random result from your site and when you hitReturn, it actually selects that result instead of using the url you typedTo Reproduce
Steps to reproduce the behavior:
google.cominto the URL fieldreturnkey to apply changesExpected behavior
I should be able to simply enter a URL and hit Enter/Return to apply the changes
Screenshots

macOS Sierra 10.12.1 (16B2659)
Firefox Quantum 60.0 (64-bit)
WordPress 4.9.6
Gutenberg 2.9.0