Custom dropcursor implementation

Hi @marijn,

I needed some very specific drag and drop behavior so I wrote my own plugin based on prosemirror-dropcursor and I’m very pleased with what I got–thank you so much for showing how to do it.

However, I’m curious: in several places in dropcursor, you’re delaying the drop insertion point marker removal and I am wondering why? I did not do that and I can’t spot any noticeable glitch. Am I missing something important here?

Digging through git, this seems to originate in patch 18f6d8b3f8bbe06943, and may indeed be obsolete—at that time, drop cursor changes happened through transactions, and the delay on removal seems to have been a way to avoid an additional transaction.

Oh, I see. Thank you. :pray: