quill-image-uploader icon indicating copy to clipboard operation
quill-image-uploader copied to clipboard

the URL of the uploaded image is misformed in the html %22

Open overcatbe opened this issue 2 years ago • 0 comments

Hi, i have successfully embedded this script, but the url is being misformed like this: DELTA OK and readable: {"ops":[{"insert":"Hello World!"},{"insert":{"image":"https://domain/1_2022-09-20_15:18:31.jpeg"}},{"insert":"\nSome initial "},{"attributes":{"bold":true},"insert":"bold"},{"insert":" text\n"}]}

HTML: "<p>Hello World!<img src=\"https:/domain/1_2022-09-20_15:18:31.jpeg\"></p><p>Some initial <strong>bold</strong> text</p>"

So the image is added like this: <img src=[\"https:/domain/1_2022-09-20_16:00:10.jpeg\"](https://domain/%22https://domain/1_2022-09-20_16:00:10.jpeg/%22)>

How do i get rid of the extra domain in the front and the %22 ?

ERROR from console https://domain/%22https:/domain/1_2022-09-20_16:00:10.jpeg/%22/ 404

overcatbe avatar Sep 20 '22 16:09 overcatbe