Skip to content
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

Block Editor: Add missing border setting #1513

Closed
wants to merge 1 commit into from
Closed

Block Editor: Add missing border setting #1513

wants to merge 1 commit into from

Conversation

Mamaduka
Copy link
Member

Trac ticket: https://core.trac.wordpress.org/ticket/53697

Adds missing border setting and enables it for Button block.

I've only included border-radius settings. I wasn't sure about the others.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

Enable border setting for Button block.

See: #53697.
@youknowriad
Copy link
Contributor

@@ -1,6 +1,9 @@
{
"version": 1,
"settings": {
"border": {
"customRadius": false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we enable the setting by default to all blocks?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I copied this setting from the plugin. So I'm not sure if we want to enable it for all blocks by default.

@bgardner
Copy link

bgardner commented Aug 2, 2021

Any chance this can make its way into the 5.8.1 milestone, given that it’s a regression and takes away an option that was previously there?

Copy link
Member

@jorgefilipecosta jorgefilipecosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this issue 👍 The fix looks good to me I'm going to commit it.

@desrosj
Copy link
Contributor

desrosj commented Aug 3, 2021

Merged into Core in https://core.trac.wordpress.org/changeset/51538.

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.

5 participants