Ngx-quill: Upload pdf, any file extension

Created on 8 Jan 2018  ·  5Comments  ·  Source: KillerCodeMonkey/ngx-quill

I need to upload any image, graph, pdf, excel file, word doc, link. How can i add the handler for that or how can i proceed using that?

Most helpful comment

If i could make a shot^^

Just add a custom Blot or

Add a custom toolbarbutton with a clickhandler (triggering a Hidden
File-Input click). The Default system/Browser File Pickerl opens. Choose a
File - upload IT and Insert the result url/path at the current Index of the
selection.

I think when You search for File Upload through the quilljs issues in the
quilljs Repo You will find some examples

Idiakose O. Sunday notifications@github.com schrieb am Fr., 6. Sep. 2019,
20:22:

@agam16 https://github.com/agam16 @maggask https://github.com/maggask
did anyone get to do this?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/92?email_source=notifications&email_token=AARI4YGCUMY3KQANWLOKFXLQIKNWPA5CNFSM4EKXOLKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DVE3Y#issuecomment-528962159,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARI4YAWMGKBEG4NVXTEQCTQIKNWPANCNFSM4EKXOLKA
.

All 5 comments

you could create an own quill module.
https://quilljs.com/guides/building-a-custom-module/

and checkout the implementation of the image and link module of quilljs. ;)

@KillerCodeMonkey Thanks, will try to create an module for that

@agam16 were you able to implement a custom module to add file upload? I'm in a similar situation and just wondering how much hassle it is.

@agam16 @maggask did anyone get to do this?

If i could make a shot^^

Just add a custom Blot or

Add a custom toolbarbutton with a clickhandler (triggering a Hidden
File-Input click). The Default system/Browser File Pickerl opens. Choose a
File - upload IT and Insert the result url/path at the current Index of the
selection.

I think when You search for File Upload through the quilljs issues in the
quilljs Repo You will find some examples

Idiakose O. Sunday notifications@github.com schrieb am Fr., 6. Sep. 2019,
20:22:

@agam16 https://github.com/agam16 @maggask https://github.com/maggask
did anyone get to do this?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/KillerCodeMonkey/ngx-quill/issues/92?email_source=notifications&email_token=AARI4YGCUMY3KQANWLOKFXLQIKNWPA5CNFSM4EKXOLKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6DVE3Y#issuecomment-528962159,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARI4YAWMGKBEG4NVXTEQCTQIKNWPANCNFSM4EKXOLKA
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yarik-vv picture yarik-vv  ·  3Comments

qikong333 picture qikong333  ·  5Comments

Fzwael picture Fzwael  ·  3Comments

SebastianPodgajny picture SebastianPodgajny  ·  4Comments

theCrius picture theCrius  ·  3Comments