chmln / vue-wysiwyg

A lightweight WYSIWYG HTML editor for Vue.js
https://chmln.github.io/vue-wysiwyg/
MIT License
557 stars 136 forks source link

Additional param in dropzone? #6

Closed eard7 closed 7 years ago

eard7 commented 7 years ago

Hi, first of all thanks for share this component. I have one doubt, how can i pass additional params to the dropzone component? i need to send a token in the upload request to grant permission and i can't find how to do that with your component. Thanks in advance!

chmln commented 7 years ago

Hello,

I'll make it possible to pass options to dropzone by next release. Thanks for the idea!

ecerroni commented 7 years ago

@chmln I have the same problem. I need to pass a token to the api endpoint for authorization.

So it would be great if we can pass some custom headers.

Do you know more or less when the next release will happen?

Thanks :)

distortia commented 7 years ago

Any update on this? Really looking to use this project but I need to pass in a token to my endpoint.

Edit: Or better yet, direct me and I can see if I can help contribute 😃

chmln commented 7 years ago

Should be possible as of v1.2.4, out now. See https://github.com/chmln/vue-wysiwyg/blob/master/README.md#config-options Also https://github.com/rowanwins/vue-dropzone#props