WordPress/wp-includes/block-supports
Sergey Biryukov bb92e303d7 Editor: Add utility classnames back to blocks that have layout attributes specified.
[https://github.com/WordPress/gutenberg/issues/38719 In 5.9 these utility classnames were removed], which removed the ability for theme/plugin authors to assign their own custom CSS related to specific layout selections. This was mostly related to the Button block.

This commit adds these classes dynamically based on attributes, rather than saving them to the serialized content.

Original PR from Gutenberg repository:
* [https://github.com/WordPress/gutenberg/pull/41487 #41487 Add utility classnames back to blocks that have layout attributes specified]

Props glendaviesnz, peterwilsoncc, andrewserong, zieladam, matveb, samikeijonen.
See #56058.
Built from https://develop.svn.wordpress.org/trunk@53568


git-svn-id: http://core.svn.wordpress.org/trunk@53157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-23 23:09:09 +00:00
..
align.php
border.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/block-supports/border.php. 2022-04-21 21:05:11 +00:00
colors.php
custom-classname.php
dimensions.php
duotone.php
elements.php Editor: Fix styles for nested elements (link color) 2022-04-25 16:37:08 +00:00
generated-classname.php
layout.php Editor: Add utility classnames back to blocks that have layout attributes specified. 2022-06-23 23:09:09 +00:00
spacing.php
typography.php
utils.php