-
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
Allow button blocks to be inserted from the "Add Link" modal. #55144
Conversation
Size Change: +3 B (0%) Total Size: 1.65 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.
Thank you for the PR and tackling this issue. Much appreciated.
Technically I believe this to be the correct approach, but I'm not going to approve it.
Why? Because I agree with Rich that there are now too many blocks in a row in this UI.
I think we should seek a more holistic solution as proposed in #50888.
If folks feel this is critical then it will need an approval from @WordPress/gutenberg-design.
I would echo Rich here, that I think the holistic solution is the one to go for. I do appreciate this PR, though, and if we did have to add the button it wouldn't be the worst, but it definitely isn't a scalable UI, considering translations, etc. |
What?
Buttons block can be added by clicking on the [+] that appears inline in the navigation block.
Why?
Bug fix.
fix: #54877
How?
Add
core/buttons
tofeaturedBlocks
in<LinkUI />
.Testing Instructions
Screenshots or screencast
2023-10-07.15.20.35.mov