Make WordPress Core

Opened 2 years ago

Closed 21 months ago

Last modified 21 months ago

#62274 closed defect (bug) (fixed)

Block editor: remove wp-editor stylesheet from iframe

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

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.


2 years 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
21 months ago

  • Owner set to peterwilsoncc
  • Resolution → fixed
  • Status new → 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.