Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploading a file from ckeditor to firebase #72

Open
Alosies opened this issue Aug 2, 2018 · 8 comments
Open

uploading a file from ckeditor to firebase #72

Alosies opened this issue Aug 2, 2018 · 8 comments

Comments

@Alosies
Copy link

Alosies commented Aug 2, 2018

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.

@dangvanthanh dangvanthanh self-assigned this Aug 2, 2018
@Alosies
Copy link
Author

Alosies commented Aug 4, 2018

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. :-(

@dangvanthanh
Copy link
Owner

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.

@Alosies
Copy link
Author

Alosies commented Aug 5, 2018

@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.

@dangvanthanh
Copy link
Owner

@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.

@dangvanthanh dangvanthanh added this to Development in Vue.js and Ckeditor 4 Aug 7, 2018
@v0lsh3bnik
Copy link

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.

@dangvanthanh
Copy link
Owner

@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.

@ctwhome
Copy link

ctwhome commented Feb 14, 2019

hallo! is there any example of how to do this?

@dangvanthanh dangvanthanh moved this from Development to Tutorial in Vue.js and Ckeditor 4 Feb 15, 2019
@vortixhead
Copy link

Upload Button does not show, any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

5 participants