Today added a PDF download button in the material view. The button is disabled until a file is loaded. Export uses html2pdf.js and creates a temporary export wrapper with title, content and a footer (jf-akademie.de). Filename is derived from the current title and sanitized with sanitizeFileName. The button is marked busy and disabled during export and re-enabled afterwards; errors are logged and the user is notified. Change made in public/material/index.html.
0
Log in to leave a comment