Skip to content

Empty last List Element should not be displayed #65876

@Gulamdastgir-Momin

Description

@Gulamdastgir-Momin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions