I’m using the HTML2PDF.js library to create a plugin that lets users create PDFs of specific elements.
Using a server side action to get the output in Base64 format - see below for plugin code and console log.
So I’m able to create the PDF and print it in the console in Base64 format… but am a bit lost as to where to go from here.
Any idea how I can save the created PDF down to a URL so users can access it (and save it to the database)?
I have read @jared.gibb’s excellent post on returning objects from plugins, but not quite sure how to apply it to my own situation.