Skip to content

Unable to insert new line above an image at the first position of the editor #3356

Closed

Description

@judithroth

What’s broken?

When an image is in the first position of the editor, it's possible to navigate above it with the arrow keys. Pressing enter while the cursor is above the image inserts the newline below the image though, not above it:

Screencast.from.2026-11-16.14-36-09.mp4

What did you expect to happen?

When pressing enter above an image I would expect the newline to appear above the image, not below it

Steps to reproduce

  1. Insert an image in the first position of an editor
  2. Use arrow keys to position the cursor above the image
  3. Press enter
  4. See the newline appear below the image instead of above it

BlockNote version

No response

Environment

No response

Additional context

No response

Contribution

  • I'd be interested in contributing a fix for this issue

Sponsor

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Activity

  1. added
    needs-triage
    on Nov 16, 2026
  2. nperez0111 commented on Nov 16, 2026

    @nperez0111
    Contributor

    I thought I fixed this recently, may be in an open PR. I will take a look @judithroth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions