Make WordPress Core

Opened 8 months ago

Closed 4 months ago

Last modified 4 months ago

#62274 closed defect (bug) (fixed)

Block editor: remove wp-editor stylesheet from iframe

Reported by: ellatrix's profile ellatrix Owned by: peterwilsoncc's profile peterwilsoncc
Milestone: 6.8 Priority: normal
Severity: normal Version: 6.7
Component: Editor Keywords: has-patch
Focuses: Cc:

Description

It was removed in https://github.com/WordPress/gutenberg/pull/33496, but the backport was forgotten.

Change History (3)

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


8 months ago
#1

  • Keywords has-patch added

It was removed in https://github.com/WordPress/gutenberg/pull/33496, but the backport was forgotten.

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

#2 @peterwilsoncc
4 months ago

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

In 59793:

Editor: Update enqueued styles in the editor.

Updates the enqueued styles in various editors to remove target styles more precisely to where they are needed.

Removes the following stylesheets as dependencies of wp-edit-blocks:

  • wp-editor
  • wp-reusable-blocks
  • wp-patterns

The wp-editor stylesheet is targeted to the items requiring the CSS:

  • edit-widgets
  • customize-widgets
  • edit-site

Props ellatrix, youknowriad.
Fixes #62266, #62274.

Note: See TracTickets for help on using tickets.