I want to add a button in the wysiwyg to upload pdf files.
I see there are code to allow upload the pdf with the button normally used to upload the images. But, I want a custom button too.
I found this guide but I don't know where should I put the code
Any idea?