Skip to content

Can not insert text before Mention #3111

@susnux

Description

@susnux

Describe the bug
The cursor can not move before a mention in Firefox, so if the first thing inside a document is a user mention, then you can not add anything before it.

This is a known bug in Firefox when a contenteditable=false element is the first child of a contenteditable=true. See upstream bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1796943.

To Reproduce
Steps to reproduce the behavior:

  1. Open empty file
  2. Add a mention
  3. Try to add something in front of the mention

Expected behavior
Cursor can move before the mention.

Client details:

  • OS: Linux
  • Browser: Firefox
  • Version: master
  • Device: desktop

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    🧭 Planning evaluation (don't pick)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions