[wp-trac] [WordPress Trac] #57561: Update conditional logic for editor_styles

WordPress Trac noreply at wordpress.org
Thu Feb 2 05:43:52 UTC 2023


#57561: Update conditional logic for editor_styles
-------------------------------------------------+-------------------------
 Reporter:  mikachan                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.2
Component:  Script Loader                        |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by poena):

 * keywords:  has-patch => has-patch needs-testing needs-testing-info
 * version:   => 6.1


Comment:

 I have copied these testing instructions from the Gutenberg PR:


 == Testing Instructions
 Activate Twenty Twenty-Three or a theme that doesn't support
 {{{wp-block-styles}}} AND doesn't include {{{add_editor_style( 'style.css'
 );}}}


 In the Site Editor, insert a Separator block, see the difference in width
 between the editor and front end
 Example separator markup for copy/pasting:

 {{{
 <!-- wp:separator -->
 <hr class="wp-block-separator has-alpha-channel-opacity"/>
 <!-- /wp:separator -->
 }}}

 Expected result with the patch applied:
 The editor and front should match.


 @mikachan These testing instructions are for the "happy path", do you have
 instructions for what we need to test in other types of themes, to make
 sure there are no regressions for them?

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


More information about the wp-trac mailing list