[wp-trac] [WordPress Trac] #57550: Block editor: separate content styles for the iframe (was: Block editor: separate content styles for the iframe (PHP backport))

WordPress Trac noreply at wordpress.org
Wed Jan 25 13:31:57 UTC 2023


#57550: Block editor: separate content styles for the iframe
---------------------------------------+-----------------------------
 Reporter:  ellatrix                   |       Owner:  hellofromTonya
     Type:  defect (bug)               |      Status:  reviewing
 Priority:  normal                     |   Milestone:  6.2
Component:  Editor                     |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch gutenberg-merge  |     Focuses:
---------------------------------------+-----------------------------
Changes (by hellofromTonya):

 * status:  new => reviewing
 * owner:  (none) => hellofromTonya
 * version:  trunk =>
 * milestone:  Awaiting Review => 6.2
 * keywords:  has-patch => has-patch gutenberg-merge


Old description:

> See https://github.com/WordPress/gutenberg/pull/44298.

New description:

 This ticket is the PHP changes for the initiative to:

 * Separate the content styles contained in the block editor package into a
 separate stylesheet.
 * Avoid loading all block editor styles into the iframe.

 Changes:
 * Remove the `'wp-block-editor'` and `'wp-block-library'` from the
 iframe's stylesheet collection (i.e. `_wp_get_iframed_editor_assets()`).
 * Add the new `'wp-block-editor-content'` for the separate stylesheet to
 the list of editor (`'wp-edit-blocks'`) dependencies.

 This ticket is for the PHP changes in
 https://github.com/WordPress/gutenberg/pull/44298. The changes within the
 editor and block library will be included in a `@wordpress` packages
 update (see #57471).

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57550#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list