-
Notifications
You must be signed in to change notification settings - Fork 385
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
[AMP Stories] Optional rounded corners for Text and Image block #2055
Conversation
@swissspidy |
@miina I'm not sure I follow, what exactly was the issue you were facing with that method? |
@swissspidy |
Not exactly 🤔. Try inserting a button block in Gutenberg and click on its icon. You can then see the different styles: So if we use this: registerBlockStyle( 'amp/amp-story-text', {
name: 'rounded',
label: __( 'Rounded', 'amp' )
} ); The user can choose between the default style and the Rounded style. With Rounded, an So if the user wants rounded corner, they can simply switch the block style. |
Oh, looks like I completely misunderstood this one. Thanks, will rework. |
See #2013.