[wp-trac] [WordPress Trac] #53569: Block widgets editor is hidden if a block enqueues 'wp-edit-post' stylesheet

WordPress Trac noreply at wordpress.org
Mon Jul 5 01:30:42 UTC 2021


#53569: Block widgets editor is hidden if a block enqueues 'wp-edit-post'
stylesheet
--------------------------+---------------------
 Reporter:  dlh           |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.8.1
Component:  Widgets       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by noisysocks):

 > I'll defer to the editor team as to whether using wp-edit-post as a
 style dependency is doing it wrong.

 Yes I think so. `wp-edit-post` (`@wordpress/edit-post`) is the package
 containing scripts and styles that implement the post block editor
 (`edit.php`). It shouldn't be enqueued in the widgets block editor
 (`widgets.php`).

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


More information about the wp-trac mailing list