Thanks for posting this. I was planning on implementing image pasting in Prosemirror this morning and I just happened to check this forum – I borrowed a lot of your event handling code and and this undoubtedly saved me hours of work! My implementation here if you’re interested.
Many thanks to emergence engineering team for this plugin and @marijn for the prosemirror! Unfortunately I’ve faced an issue when image nodes are duplicated when dragging them (changing their position) inside the entire document.
I’ve found that this update to the prosemirror-view package which resolves this issue brought this behavior. Unfortunately I couldn’t determine yet what should be updated in this plugin to meet new requirements of the prosemirror-view package. Maybe update to the schema or nodeView ? Could anyone give an advice on that? Thanks in advance.