Fix DnD for images, text and links
Fixes drag and drop:
- for images now we remove
file://
from the path so we don't break the output when exporting - for text now we prevent pasting the text two times
- now we do some autoformatting for links
- and now we correctly leave selected text between brackets