Inserting pictures inline after drop causes problem when inline is not set to true #1635
Unanswered
michaelklopf
asked this question in
Questions & Help
Replies: 1 comment
-
See #2142 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we've a rather complex problem. We fetch the drop on the Texteditor, show a modal dialog and let the user choose if he wants to insert pictures either inline or as attachment parallel to the editor.
The problem is, when using block and not inline, that dropping multiple image files causes a problem. Only one image is inserted when calling
multiple times.
Maybe the problem is the same as here in the images example https://www.tiptap.dev/examples/images/
Add a couple of new lines and try to insert pictures with dragging and dropping them where you can see the cursor in the screenshot. This does nothing, only when dropping the pictures exactly above the other pictures.

We guess that it is a bug in the editor. Trying to do that in Brave/Chrome fails completely, dropped pictures are opened in a new tab.
Beta Was this translation helpful? Give feedback.
All reactions