Opened 3 years ago
Closed 10 months ago
#57219 closed defect (bug) (worksforme)
Additional CSS not visible in editor on List block
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 6.1 |
| Component: | Editor | Keywords: | dev-feedback has-patch |
| Focuses: | ui, css | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hey, @ivojerkovic , I've gone through your issue and recreated the scenario that you described, but I didn't find any issue similar to yours! I've attached a screen recording, and in it, you can clearly see that I opened a post that has a list block with Additional classes and saved the post without making any changes and my additional classes are being loaded successfully. I think you are making a mistake somewhere else!