Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Is it already possible to include a register_block_patterns() within this package? #300

Open
blachawk opened this issue Jul 30, 2021 · 0 comments

Comments

@blachawk
Copy link

blachawk commented Jul 30, 2021

In addition to what create-guten-block alredy does today, is it also possible to also include custom made block patterns within this package? If so, can you provide an example of how that would be incorporated?

From the block.js file, I can see registerBlockType() is ready for us to modify. Would it hurt anything if we added register_block_patterns() right after it? or is that a bad idea?

I would like to bundle all of my blocks and block patterns in one solution. Was hoping I could do it here.

@blachawk blachawk changed the title Is it already possible to include a register_block_patterns within package Is it already possible to include a register_block_patterns() within this package? Jul 30, 2021
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

1 participant