Skip to content

Block Styles are applied to listItems instead of lists #42

@jonaphil

Description

@jonaphil

While styling lists with the CSS-Property columns, I found the following issue:

If I want to style a list, the blockStyles are applied to the <li>-Elements instead of the <ul>-Elements.

I would expect that blockstyles are applied in this case to the list as a whole. If i want to style a listitem i would use inlineStyles. This is especially problematic with styles like columns (mdn), but with padding or margins as well.

It seems like the blockStyles are applied to the first html-Tag above the current text, where the selection is taken.

Is the description clear?
Is it possible to solve this here?

Thanks,
Jonathan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions