[wp-trac] [WordPress Trac] #57219: Additional CSS not visible in editor on List block

WordPress Trac noreply at wordpress.org
Mon Nov 28 11:21:52 UTC 2022


#57219: Additional CSS not visible in editor on List block
--------------------------+-----------------------------
 Reporter:  ivojerkovic   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  6.1
 Severity:  normal        |   Keywords:
  Focuses:  ui, css       |
--------------------------+-----------------------------
 List block doesn't have Additional CSS classes loaded in the Gutenberg
 editor.
 For test, I opened a post that has Additional classes on List, they are
 not visible in the editor.
 Then I just saved the post without making any change.The result:

 Before:

 {{{
 <!-- wp:list {"className":"warnings-red spaced-half"} -->
 <ul class="warnings-red spaced-half">
 }}}



 {{{
 After:
 <!-- wp:list -->
 <ul><!-- wp:list-item -->
 }}}

 This means that after every old post update, we have to add back
 additional classes.

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


More information about the wp-trac mailing list