Add variant classes to the button link #34557
Labels
[Block] Buttons
Affects the Buttons Block
[Type] Developer Documentation
Documentation for developers
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Reading changelogs and documentations there is described that button classes and styles have to be applied to
wp-block-button__link
instead ofwp-block-button
.But selecting for example the button variant
is-style-outlined
is added to thewp-block-button
instead as suggested to thewp-block-button__link
.What is your proposed solution?
I think, this should be updated in documentation or the button block should be updated.
The text was updated successfully, but these errors were encountered: