Closed ryancornia closed 5 years ago
I am posting to a server, but am unsure what the server should return and how to bind it to Quill to show the image uploaded.
I assume a json string like:
{ "url": "Http://...."}
but are there any examples of binding that URL so it display in the editor in the callbackOK method?
Figured out an example:
serverResponse is json: { "url": "http://myimage..."} callbackOK: (serverResponse, next) => { next(serverResponse.url); },
I am posting to a server, but am unsure what the server should return and how to bind it to Quill to show the image uploaded.
I assume a json string like:
{ "url": "Http://...."}
but are there any examples of binding that URL so it display in the editor in the callbackOK method?