Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Create new block: "Call To Action" #293

Closed
ryelle opened this issue Jan 4, 2019 · 3 comments
Closed

Create new block: "Call To Action" #293

ryelle opened this issue Jan 4, 2019 · 3 comments

Comments

@ryelle
Copy link
Member

ryelle commented Jan 4, 2019

This is a tracking issue for a new block in gutenberg, a "Call To Action" block. This block has a background image with overlay, like the cover image block, but will include a title, some content, and a button. This will use InnerBlocks + a template + allowed blocks. The whitelisted blocks should be:

  • Heading
  • Paragraph
  • Button
  • Spacer
  • Separator

empty-block

See p6riRB-3Fa-p2

@spencerfinnell
Copy link

spencerfinnell commented Jan 29, 2019

@ryelle What is the advantage of having this alongside the Featured Product block? It seems like if the Featured Product block was made a bit more robust (editable title, editable description, #368) you could easily recreate this Call to Action block with the existing settings.

@ryelle ryelle self-assigned this Feb 13, 2019
@ryelle
Copy link
Member Author

ryelle commented Feb 14, 2019

Looks like an alternate approach - improving the Cover block - has been started already: WordPress/gutenberg#13822

@ryelle
Copy link
Member Author

ryelle commented Mar 18, 2019

Closing this, we'll use the core "Cover" block now that it's been updated.

@ryelle ryelle closed this as completed Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants