Skip to content

[BUG]: Font style changes unexpectedly on pressing Enter #216

@rohitrg96

Description

@rohitrg96

Describe the bug

Currently, when users press the Enter key in the editor, the font style changes unexpectedly. This creates an inconsistent editing experience and breaks the formatting continuity between lines. The issue affects usability and makes the editor output unpredictable for users working with styled text.

Tasks

  • Investigate and identify why the font style changes when pressing Enter.
  • Ensure the newly created line inherits the same font style and formatting as the previous line.
  • Add automated tests to prevent regressions in future updates.

Steps to reproduce

No response

Expected behavior

Pressing Enter should keep the same font style and formatting as the previous line.

What is actually happening?

When pressing Enter, the font style changes automatically, causing inconsistent text formatting.

Screenshots

No response

Any additional comments?

No response

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