In this tutorial, we will learn how to add an alignment control to the toolbar of a Gutenberg block.
This tutorial builds off the How to Build Gutenberg Blocks Using JSX tutorial. If you’re not familiar with Gutenberg or JSX, I would suggest starting with that tutorial.
The code from this tutorial is available as a fully functioning plugin. Check out the example on Github.