-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add button to cover image #2765
Comments
Yes! Very common design pattern. Is this first step towards nested blocks? |
@samikeijonen hah, sort of, but not quite. This is more of a setting of the block. The first step for nesting is going to be #2743. |
Thanks for the info @mtias, will look the other ticket also. |
Submitted PR #3047. |
@Soean this still would be a setting aside from nesting blocks. It should be a setting on cover image as a lot of people want it. |
I'd maybe consider "Include button" instead of "Show button" here — what do you think? |
If #5452 is merged, this issue could probably be closed, as it would be trivial to insert a Button block into a Cover Image block via nesting. |
Yes, that's the plan. |
I am closing this as we are moving on with nested blocks which will include this. |
This brings the button and options into the cover image block. It takes exactly the settings, including text and background color. The styling of the button is the same but as a default should be white background, black text - to reflect the header styling.
The text was updated successfully, but these errors were encountered: