Add textShadow typography support and UI#12011
Conversation
Allow the `text-shadow` CSS property to be defined under `styles.typography` in theme.json, so text shadows can be set globally or at the block and element level. Registers the property in `WP_Theme_JSON::PROPERTIES_METADATA` and `VALID_STYLES`, with coverage added to the `get_stylesheet()` test. This ports the PHP changes from the Gutenberg feature to core. See #61256. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
This PR is intended to backport the following Gutenberg PRs to the core in order to implement full text shadow support in a single PR.
Trac ticket: https://core.trac.wordpress.org/ticket/65370
Use of AI Tools
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.