[wp-trac] [WordPress Trac] #58531: Twenty Seventeen: Post Template block has list-style: disc in editor when front end has no list style (was: Twenty Seventeen - List style disc in post template when front end has no list style)

WordPress Trac noreply at wordpress.org
Tue Jun 13 22:07:19 UTC 2023


#58531: Twenty Seventeen: Post Template block has list-style: disc in editor when
front end has no list style
------------------------------+---------------------
 Reporter:  nkeller15         |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.3
Component:  Bundled Theme     |     Version:  6.2.2
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  css
------------------------------+---------------------
Changes (by sabernhardt):

 * keywords:  has-patch => has-patch commit
 * milestone:  Awaiting Review => 6.3


Comment:

 The discs also show in the editor the List view, and the patch removes
 them from both the Grid and List views (as it is on the front).

 Using the `:not(.wp-block-gallery, .wp-block-post-template)` selector list
 does not increase the specificity. Because this only changes the editor, I
 am not concerned about browsers that cannot support a selector list inside
 `:not()`.

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


More information about the wp-trac mailing list