ckstyles icon indicating copy to clipboard operation
ckstyles copied to clipboard

Block Styles are applied to listItems instead of lists

Open jonaphil opened this issue 7 months ago • 0 comments

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

jonaphil avatar Jul 03 '25 15:07 jonaphil