vue-ckeditor2
vue-ckeditor2 copied to clipboard
uploading a file from ckeditor to firebase
Hi,
I'm trying to get the filedata after uploading an image to send it to firebase using axios. But I am not able to get the filedata. Is there anyway I can achieve this. All my googling only led me to adding an url to 'filebrowserUploadUrl'. But I am not sure how to get the data out of it.
Hi,
Any update on this? If you can just guide me through on how to get the uploaded data into the vue component, then I will manage to send it to firebase. Just because I could not achieve this functionality in CKEditor, I'm using Quill editor side by side. :-(
Hi @Alosies
In Ckeditor you can get data contain image with url image (src attribute) via v-model
. If you want to get info of filedata when you upload file, I will investigate continue.
@dangvanthanh Thanks for the reply.
I'm looking to get the filedata only. So that I can send it to firebase to save my images.
@Alosies
If you want get the file data and send to firebase. You need modify upload file plugin you use when you enter Ok
button. It will send info of file data to firebase.
Hello , is there any updates on this ? For the moment I had to create a different upload form where the user uploads the images separatly to firebase and copies the generated download link into the image info popup. I find it not practical at all.
@v0lsh3bnik
From v2.1.0
of vue-ckeditor2
I support events in Ckeditor such as fileUploadRequest
and fileUploadResponse
. I hope it will help you resolve your problem.
hallo! is there any example of how to do this?
Upload Button does not show, any updates on this?