Closed BertschMario closed 1 year ago
Which browser and OS is this on? It works fine on Chrome and Firefox Linux.
Which browser and OS is this on? It works fine on Chrome and Firefox Linux.
Ohh, my mistake, I just saw that the event is being triggered, but no image is being inserted and therefore it can't be read. The insertion with SHIFT+INSERT
doesn't work in the example either: https://prosemirror.net/examples/basic/
Tested on Ubuntu 22.04 => Chrome/Firefox & Windows => Chrome/Firefox
It was doing a plain text parse because shift was being held, which I guess isn't appropriate for shift-insert. Attached patch should fix this.
The handlePaste event does only trigger on
CTRL+V
andRightclick=>Paste
, butSHIFT+INSERT
does not trigger the event correctly.