Make WordPress Core

Opened 5 weeks ago

Last modified 5 weeks ago

#64202 new enhancement

Block Supports: Add height support to dimensions block supports

Reported by: aaronrobertshaw's profile aaronrobertshaw Owned by:
Milestone: 7.0 Priority: normal
Severity: normal Version: 6.9
Component: Editor Keywords: gutenberg-merge has-patch has-unit-tests
Focuses: Cc:

Description

This ticket tracks the backport of PHP files for the following Gutenberg updates:

https://github.com/WordPress/gutenberg/pull/71914

These updates include the PHP changes to add height block supports.

New dimensions block supports are being added to support new blocks such as the proposed Icon block. See https://github.com/WordPress/gutenberg/pull/71227 for further context.

Change History (1)

This ticket was mentioned in PR #10474 on WordPress/wordpress-develop by @aaronrobertshaw.


5 weeks ago
#1

  • Keywords has-patch has-unit-tests added

Trac ticket: https://core.trac.wordpress.org/ticket/64202

This PR brings the changes from the following Gutenberg PRs to core:

https://github.com/WordPress/gutenberg/pull/71914

### Description
Adds a new dimensions.height block support to facilitate the creation of new blocks such as the Icon block.

See: https://github.com/WordPress/gutenberg/pull/71227

### Testing

  1. Adopt height block support for a dynamic block e.g. Cover via its block.json file
  2. Add a height value for the chosen test block in your theme.json file
  3. Create a post with the test block type
  4. Confirm the global style is applied to your test block
Note: See TracTickets for help on using tickets.