ueberdosis / tiptap

The headless rich text editor framework for web artisans.
https://tiptap.dev
MIT License
27.55k stars 2.29k forks source link

[Bug]: Dropping an image in a list bullet list get stucked (Premium template) #5743

Closed ferreiro closed 2 weeks ago

ferreiro commented 4 weeks ago

Affected Packages

extensions

Version(s)

latest

Bug Description

I noticed a bug in the notion template. If I upload an image and try to drop in the middle of a bullet list, it gets stuck, and makes the whole editor non being able to move the image around, which it's a big pain.

https://www.loom.com/share/3462121e42e8488ba0379105952d865d

Any ideas to fix this?

Browser Used

Chrome

Code Example URL

No response

Expected Behavior

It should either block dropping an image into the bullet list or once I drop the image, it should let me reorder and move the image around.

Additional Context (Optional)

No response

Dependency Updates

guarmo commented 2 weeks ago

Hi @ferreiro, I would assume this is the intended behavior. Since the image becomes part of a list item, which is not meant to be draggable, it cannot be dragged around any longer.