Open LukasGerm opened 5 years ago
here is an image. Where do I have the upload thing?
Hi...me too have same issue...can anyone please help on this ?
any update on this issue? or do we need to enable some settings in the UI? can you please share the documentation for it?
I was just going through other issues: probably this might help https://github.com/jpuri/react-draft-wysiwyg/issues/639
Upload Image Button is Disabled even after uploading file. Plz Help
Hi guys,
Are there any updates here?
You must specify the uploadCallback
option as described in docs: https://jpuri.github.io/react-draft-wysiwyg/#/docs
image: uploadCallback: This is image upload callBack. It should return a promise that resolves to give image src. Default value is true.
Both above options of uploadEnabled and uploadCallback should be present for upload to be enabled.
Promise should resolve to return an object { data: { link: <THE_URL>}}.
After you specify a callback, the toolbar button will now have two options: File Upload and URL
By default this option is undefined and there will only be the URL feature.
Hey guys,
how do I activate the Upload Image Button? So that it is shown in with the css file given? I found the issue, how you can handle image uploads but the standard css file only shows "URL". How do I do that?