[wp-trac] [WordPress Trac] #45490: Load wp-edit-blocks styles after wp-block-library

WordPress Trac noreply at wordpress.org
Wed Dec 5 18:02:18 UTC 2018


#45490: Load wp-edit-blocks styles after wp-block-library
--------------------------------+-----------------------------
 Reporter:  jorgefilipecosta    |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Editor              |    Version:
 Severity:  normal              |   Keywords:  has-patch
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 Fixes: https://github.com/WordPress/gutenberg/pull/12619
 Related: https://github.com/WordPress/gutenberg/pull/12619

 During the editor development, there was some expectation that styles
 implemented in the block editor.scss file would overwrite the styles
 implemented in style.scss. In the plugin, this is happening, but in core
 that's not the case.

 This difference created a bug
 https://github.com/WordPress/gutenberg/pull/12619 that only happens when
 testing the editor in core but not in the plugin.

 In core, we should make sure that wp-edit-blocks styles are loaded after
 wp-block-library styles, so the problem does not happen.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45490>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list