10up / gutenberg-best-practices

Welcome to the 10up Gutenberg Best Practices!
https://gutenberg.10up.com
88 stars 24 forks source link

Unregister Block Example #138

Closed pdavies88 closed 1 year ago

pdavies88 commented 1 year ago

Description of the Change

This reference showcases how to disallow multiple blocks and variations from Gutenberg using the unregisterBlockType and unregisterBlockVariation functions. This PR also fixes some issues pertaining to the documentation side navigation order.

Closing # https://github.com/10up/gutenberg-best-practices/issues/26

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
10up-gutenberg-best-practices ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 30, 2023 5:55am
pdavies88 commented 1 year ago

@fabiankaegy committed suggestion. Ready for re-review