Using the built-in HTML "Drag & Drop", we are able to detect and use content dragged into a Spotify App. You can read more about this in the Developer Guidelines.
You need to add the ApplicationLinkTypes property to the manifest.json file, setting what type of content you want to support:
For example:
"ApplicationLinkTypes": [
"playlist"
]