Consistent parsing for urls in drop event


I’ve been playing with drop events and noticed some differences between browsers. Click url in navigation bar and drop in editor:


event.dataTransfer('text/uri-list') : ''
event.dataTransfer('text/plain') : ''


event.dataTransfer('text/x-moz-url') : '\r\nGoogle'
event.dataTransfer('text/plain') : ''

The actual content that appears in the editor differs, as text/plain is used. Can’t this case be handled inside prosemirror?

Thank you.

No, sorry, this is a decision the browser makes, and I consider it out of scope for the library to second-guess it.