Make WordPress Core

Opened 4 weeks ago

Closed 3 weeks ago

#61239 closed enhancement (fixed)

Add aspect ratio presets support via theme.json

Reported by: fabiankaegy's profile fabiankaegy Owned by: fabiankaegy's profile fabiankaegy
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: Editor Keywords: gutenberg-merge has-patch
Focuses: Cc:

Description

Sync ticket for https://github.com/WordPress/gutenberg/pull/47271

There are several places in the block editor where Aspect Ratio options are presented to the user. It should be possible to customize the list of aspect ratio options available through theme.json

Change History (7)

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


4 weeks ago
#1

  • Keywords has-patch added

#2 @swissspidy
4 weeks ago

Internationalization needs to be fixed before this lands in core. See https://github.com/WordPress/gutenberg/issues/61767

#3 @fabiankaegy
4 weeks ago

Thanks @swissspidy,

I added a PR in the Gutenberg repo https://github.com/WordPress/gutenberg/pull/61774 to fix this.

At the same time I also updated the PR here in Core to include the update. So hopefully that should unblock this :)

#4 @fabiankaegy
3 weeks ago

  • Keywords gutenberg-merge added

#5 @fabiankaegy
3 weeks ago

@swissspidy @Mamaduka would you be able to help me get this reviewed in order to meet he 6.6 beta 1 cut off? Thanks in advance :)

@isabel_brison commented on PR #6567:


3 weeks ago
#6

Committed in r58242.

#7 @isabel_brison
3 weeks ago

  • Resolution set to fixed
  • Status changed from assigned to closed

https://core.trac.wordpress.org/changeset/58242 should close this ticket but I forgot to add the ticket number :facepalm:

Note: See TracTickets for help on using tickets.