Skip to content

Bug: Enter incorrectly handled in Safari after inserting new image (legacy events) #5673

@StyleT

Description

@StyleT

Lexical version: 0.13.1

Steps To Reproduce

  1. Open https://playground.lexical.dev/?disableBeforeInput=true in Safari
  2. Clear editor Cmd + A + Delete
  3. Click Insert -> Image -> Sample
  4. Press Enter

The current behavior

Nothing happens

Screen.Recording.2024-02-29.at.8.25.51.PM.mov

The expected behavior

Same as w/o Legacy events. New paragraph should be created

Screen.Recording.2024-02-29.at.8.26.45.PM.mov

Related to #5672

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