Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Global Styles: Add support for
heading
, button
, and caption
ele…
…ments. This enables themes to: * Set style rules for all heading elements together rather than having to do it individually. * Style captions in `theme.json` by adding this into your `theme.json` file: {{{ { "styles": { "elements": { "caption": { "color": { "background": "red", "text": "yellow" } } } } } }}} This commit backports the original PRs from Gutenberg repository: * [WordPress/gutenberg#41981 #41981: Global Styles: Add support for heading elements] * [WordPress/gutenberg#41140 #41140: Global Styles: Add support for caption elements] Follow-up to [50973]. Props cbravobernal, scruffian, madhudollu, mikachan, zieladam, bph, poena, andraganescu, ndiego, bgardner. See #56467. Built from https://develop.svn.wordpress.org/trunk@54105
- Loading branch information