TypeCellOS / TypeCellOS/BlockNote

Drag and drop of image at the end of a line locates image up or down

Open
#2,570 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug:P3 sponsor
Dominant language
TypeScript
Stars
10.2k
Forks
772
Avg merge
3d 11h
Merged PRs (30d)
17

Description

What’s broken?

Drag and drop of image at the end of a line locates image up or down. It's not consistent.

What did you expect to happen?

It should always be at the bottom. If I wanted it above I've put my cursor above.

Steps to reproduce

https://github.com/user-attachments/assets/95b7f0a5-9d92-4a52-85ba-86a8f9ba15e5

BlockNote version

No response

Environment

Firefox 148 64 bit NixOS

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 💖

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the drag-and-drop behavior in Firefox 148 on NixOS, using the attached video as the reference. Trace the image drop positioning from the relevant editor entry point, then verify that dropping at a line end consistently places the image below the line while an intentional drop above remains above.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.