getkirby / editor

A new type of WYSIWYG editor for Kirby
https://getkirby.com
205 stars 28 forks source link

Drag and Drop from a file-upload should generate a correct link #261

Open KGS-Rastede opened 4 years ago

KGS-Rastede commented 4 years ago

I described my issue here:

https://forum.getkirby.com/t/drag-and-drop-from-a-file-upload-generates-the-wrong-link/19344/

When drag-and-drop'ing a file from a 'file'-element to an 'editor'-element I expected the editor to generate a link to an PDF-file that the user can download. Instead it generates a link to the panel. This should never be exposed from the editor-generated text.

panel-drag-drip

In my opinion that current behaviour is not intuitive, even though I can kind of see what it is the way it is. It should at least be documented more clearly.

eXpl0it3r commented 4 years ago

This is kind of a deal breaker for me, as explaining the editors on how to manually add links becomes very cumbersome. Tried to figure out how this drap/drop event works, but was unable to fully understand it.