-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
If you set border settings for the button element, the Fill/Outline functionality works not consistently.
Step-by-step reproduction instructions
- Activate
emptytheme
to discard theme interferences - Add this snippet to
theme.json
{
"styles": {
"elements": {
"button": {
"border": {
"color": "red",
"style": "solid",
"width": "10px"
},
"color": {
"background": "orange",
"text": "blue"
}
}
}
}
}
- Add a button element
- Try to set outline style and change the button colors as in the video
Screenshots, screen recording, code snippet
button3.mp4
Environment info
- Wordpress 6.0
- Gutenberg 13.5.1WordPress
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
[Block] ButtonsAffects the Buttons BlockAffects the Buttons Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended