michelson / dante2

A complete rewrite of dante editor in draft-js
https://michelson.github.io/dante2/
Other
912 stars 121 forks source link

Image Server #234

Closed nivu closed 4 years ago

nivu commented 4 years ago

How to add image server in Django/flask?

michelson commented 4 years ago

I'm not a python guy , but you can check the image uploader example at https://michelson.github.io/dante2/#/src-widgets

the server must response a json with the url of the uploaded image, and that's all. the format of the response has to be {url: 'urlofuploadedimage'}