Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#59294 closed enhancement (fixed)

Allow layout controls to be disabled per block from theme.json

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

Description

Syncs the PHP changes to class-wp-theme-json from this Gutenberg PR: https://github.com/WordPress/gutenberg/pull/53378.

Change History (3)

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


20 months ago
#1

  • Keywords has-patch added

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

Adds PHP changes from https://github.com/WordPress/gutenberg/pull/53378.

This can't really be tested currently as trying to sync trunk with the latest Gutenberg packages causes a fatal error due to some interactivity API specific code.

I guess the best we can do is check that automated tests pass and nothing is broken after the change 😄

#2 @isabel_brison
20 months ago

  • Owner set to isabel_brison
  • Resolution set to fixed
  • Status changed from new to closed

In 56534:

Editor: allow disabling layout controls.

Adds the ability to disable layout controls on a per-block level from theme.json.

Props mukesh27.
Fixes #59294.

@isabel_brison commented on PR #5147:


20 months ago
#3

Committed in r56534.

Note: See TracTickets for help on using tickets.