bootstrap-markdown icon indicating copy to clipboard operation
bootstrap-markdown copied to clipboard

Simple fix for correcting the path url for dropzone markdown images

Open webdevbrian opened this issue 9 years ago • 1 comments

I don't know if this was changed or not with dropzone in their later versions from when this was first implemented, but the path is actually an object, thus we need path.url to correctly print the associated url for the file that was uploaded.

webdevbrian avatar Jul 25 '16 21:07 webdevbrian

It's an object when you make it an object. If you just return the filepath from your controller instead of an json object or something it's working perfectly. This fix isn't needed if you ask me.

Take a look at: http://www.dropzonejs.com/#event-success, the second argument is just the response from the server.

royduin avatar Aug 17 '17 11:08 royduin