Opened 4 weeks ago
Last modified 4 weeks ago
#65869 new enhancement
Editor: Add text-shadow block support and theme.json presets
| Reported by: | wildworks | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.2 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | gutenberg-merge has-patch has-unit-tests |
| Cc: | Focuses: |
Description
Follow-up to #65370
This ticket is for managing the backport of Gutenberg PR #79584, which adds the typography.textShadow block support along with the textShadow, textShadowPresets, and defaultTextShadowPresets settings under settings.typography in theme.json.
Change History (1)
This ticket was mentioned in PR #13035 on WordPress/wordpress-develop by @wildworks.
4 weeks ago
#1
- Keywords has-patch has-unit-tests added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Backports the server-side portion of Gutenberg PR #79584, which adds full
text-shadowsupport to the typography block supports and theme.json.Blocks can now opt in via
supports.typography.textShadow, and themes can define presets undersettings.typography.textShadowPresets(withtextShadowanddefaultTextShadowPresetsto control the UI and default presets). Unlike shadow support, preset values are serialized as a class name (has-{slug}-text-shadow) rather than an inline style, so the Style Engine definition registers bothcss_varsandclassnames.Notes:
textShadowentry at all, so the whole definition is added here rather than only thecss_vars/classnameskeys.@sincetags use7.2.0to match the current trunk version.## Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5
Used for: Porting the Gutenberg changes to their Core equivalents. The original Gutenberg implementation and this backport were both reviewed and edited by me.