WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.45k stars 4.17k forks source link

Empty last List Element should not be displayed #65876

Open Gulamdastgir-Momin opened 1 week ago

Gulamdastgir-Momin commented 1 week ago

While using the List Block (core/list) in the block editor, I noticed that if the last element in the list is left empty, an empty bullet point is still rendered on the front-end. This issue occurs when a user inadvertently adds an extra list item but does not enter any content. Ideally, the block should not display a bullet point for empty list items.Image Image

vk17-starlord commented 1 week ago

@Mamaduka can i look into this issue ?