Tao Feng
Tao Feng
a following question to this is how to convert a videochip object to binary bytes?
thanks for the quick response. I don't have Plunker/codesandbox. also the response from the blobservice is undefined. however, I know the URL of the image, so in the resolve, I...
imageHandler: { upload: (file) => { // @ts-ignore return new Promise((resolve, reject) => { if (file.type === 'image/jpeg' || file.type === 'image/png' || file.type === 'image/jpg') { // File types...
Hi ayush013, I followed the doc and rewrote the imageHandler, now I can see that the url is the correct one and the upload method returns a right Promise, however,...
I think I found the reason, but don't have a solution. the el is null, handlerId is seems correct value: QUILL_UPLOAD_HANDLER-0 insertFileToEditor(url, handlerId) { const el = document.getElementById(handlerId); if (el)...
based on my debugging, the id (QUILL_UPLOAD_HANDLER-0) is never added on the img element
Hi ayush013, I think I found the reason. Maybe it is a bug. It is in this function: insertBase64Data(url: string | ArrayBuffer, handlerId: string) { const range = this.range; this.quill.insertEmbed(...
somehow this create function ran twice, the first time, the id is added, but the second time, the handler id is not passed in, so the img element was created...