Skip to content

Conversation

jouni
Copy link
Member

@jouni jouni commented Oct 10, 2025

  • Clear top/bottom margin on the first/last paragraph, list, or other block content (except headings).
  • Make the list indentation sane.
  • Avoid toolbar background from bleeding outside the container.

@jouni jouni requested a review from vursen October 10, 2025 09:13
Copy link

Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for improving the CSS for lists indentation, I wasn't really sure about it.

Removal of margins around list items makes lists look slightly differently compared to a bunch of paragraphs, which we might address by introducing support for soft line-breaks - see vaadin/flow-components#6302. But that's a separate topic.

@web-padawan web-padawan removed the request for review from vursen October 13, 2025 12:20
@web-padawan web-padawan changed the title fix: rich-text-editor content styles refactor: update RTE content styles, improve nested lists indentation Oct 13, 2025
@web-padawan web-padawan merged commit d1d78d2 into main Oct 13, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/rte-content-styles branch October 13, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants