Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enhancement: Add text alignment options to verse block toolbar #6700
This PR addresses #6695 which requested a text alignment option (left/centre/right) in the verse block as we can see in the heading/paragraph/subhead and other blocks.
How has this been tested?
This PR has been tested by adding a "Verse" block in Gutenberg editor and locating the alignment settings of the block in the block toolbar. It was also made sure that the alignment settings were correctly saved and rendered in the front-end. This was tested in WP 4.9.5, Gutenberg 2.8.0, Apache server with PHP 7.2.0 and MySQL 5.6.34. According to initial tests, the code doesn’t seem to affect any other areas.
Types of changes
This PR imports the dependencies required for the verse block toolbar and text alignment options ( i.e.