-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try adding layout classnames to inner block wrapper (#44600)
* Try adding layout support to Cover block. * Try adding layout classnames to inner block wrapper. * Make it work in the editor * Use WP_HTML_Tag_Processor to add layout classnames * Use WP_HTML_Tag_Processor to identify inner wrapper classnames * Improvements to inner content classname logic * Only add layout classnames to inner blocks * Manually add layout classnames to Gallery and Post Content edit * Add comment to inner content classnames logic. * Mark layoutClassnames unstable * Add classnames to container in a loop. * Remove layout support for Cover block. * Apply layout to outer wrapper if legacy Group * Off switch for layout classes in inner wrapper * Change unstable prop name
- Loading branch information
1 parent
99ad274
commit 5ae17f7
Showing
8 changed files
with
71 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters