You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add a button to the editor, select a style, and then change the size of the button the style of the button resets to the default.
I suspect this might have something to do with the custom Edit implementation inside of /js/block-filters/buttons.js, and might be related to it setting just the size class back onto the button and in the process it strips any is-style-* classes that might already be set.
A workaround is available in that you can set the size first and then the style, so it's not a super urgent thing to fix but it would definitely improve the quality of life of working with buttons in the editor.
Here's a quick gif to help visualize what I'm seeing:
The text was updated successfully, but these errors were encountered:
When I add a button to the editor, select a style, and then change the size of the button the style of the button resets to the default.
I suspect this might have something to do with the custom Edit implementation inside of /js/block-filters/buttons.js, and might be related to it setting just the size class back onto the button and in the process it strips any is-style-* classes that might already be set.
A workaround is available in that you can set the size first and then the style, so it's not a super urgent thing to fix but it would definitely improve the quality of life of working with buttons in the editor.
Here's a quick gif to help visualize what I'm seeing:
The text was updated successfully, but these errors were encountered: