WordPress.org

Make WordPress Core

Opened 11 days ago

Last modified 5 days ago

#53327 new defect (bug)

Twenty Twenty editor stylesheet causing issues on block Widgets screen

Reported by: isabel_brison Owned by:
Milestone: 5.8 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

As reported here: https://github.com/WordPress/gutenberg/issues/31947, the non-standard way in which Twenty Twenty enqueues editor styles is causing some styling issues in the block Widgets screen.

Change History (3)

#1 @joyously
11 days ago

I disagree that this is a theme issue. There could be many themes that choose this method of styling the editor, and I think the fix is to make the environment distinguished from page to page. The post editor has the action for loading the block editor assets, but that should not be the same action on the Widget page since the Widget page is not the block editor.

In other words, make the new screen (Widget page) behave better and match what the themes are already doing (and allowed to do). It is not the theme's problem. The theme should remain this way so that it is a good way to test, representing all the themes out there that are doing it this way.

#2 @noisysocks
6 days ago

  • Milestone changed from Awaiting Review to 5.8

The post editor has the action for loading the block editor assets, but that should not be the same action on the Widget page since the Widget page is not the block editor.

Are there any disadvantages to having the widgets page use a different hook? For example, would it mean that some third party blocks don't work in the widgets page?

#3 @desrosj
5 days ago

This one is directly related to a feature being introduced in 5.8, so this should remain in the milestone past today's 5.8 beta 1 deadline.

Note: See TracTickets for help on using tickets.