[wp-trac] [WordPress Trac] #58621: Add initial support for box shadow support to blocks
WordPress Trac
noreply at wordpress.org
Mon Jun 26 02:52:44 UTC 2023
#58621: Add initial support for box shadow support to blocks
-------------------------+-------------------------------------------------
Reporter: ramonopoly | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.3
Component: Editor | Version: trunk
Severity: normal | Keywords: has-patch has-unit-tests gutenberg-
Focuses: | merge
-------------------------+-------------------------------------------------
This is a ticket to track the backport of the following Gutenberg PR to
WordPress 6.3:
https://github.com/WordPress/gutenberg/pull/46896
Description:
Adds support for shadow via templates.
Allows to set a preset shadow using the shadow block prop.
`<!-- wp:post-title {"shadow":"natural"} /-->`
Allows to set a custom shadow using the style prop.
`<!-- wp:post-title {"style":{"shadow": "10px 10px 10px 10px #000"}} /-->`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58621>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list