Skip to content

After blockquote, default text styles are lost #3403

Description

Describe the bug
Hey, I'm one of the Proton Mail devs, we are using Rooster and we spotted an issue.

To Reproduce
When composing emails, pressing Enter to exit a quoted section can unexpectedly change the font size (e.g. from 14px to 12px) and sometimes the font itself, while the formatting toolbar does not reflect the change. The user provided reproduction steps and observed that closing a quote creates an unstyled div, suggesting inconsistent formatting inheritance and a possible UI state synchronization issue.

Steps to reproduce:

  • Pressed the "Quote" button
  • Typed in some text
  • Key: Enter x3
  • Key: Backspace x1

As you can see on snapshots after, the styling gets lost (instead of 14px, we get a weird 11.25pt value (?)). It seems the inline styles are removed.

Expected behavior
We don't loose styles in this case.

Screenshots

Image Image

Thanks for any help you could provide for it. :)
Cheers,

Nicolas

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