mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-09 00:57:15 +01:00
Feat: Reverse-pages for mulit-pdf
- Added new state pdfDocs: [ ] - Made tweaks for new state in fileHandler.ts
This commit is contained in:
1 parent
caf23b0ab9
commit
2e2c634b41
5 files changed
+30
-20
No files matched your search
+1
-1
@@ -969,7 +969,7 @@ export const toolTemplates = {
|
||||
'reverse-pages': () => `
|
||||
<h2 class="text-2xl font-bold text-white mb-4">Reverse PDF Pages</h2>
|
||||
<p class="mb-6 text-gray-400">Flip the order of all pages in your document, making the last page the first.</p>
|
||||
${createFileInputHTML()}
|
||||
${createFileInputHTML({ multiple: true, accept: 'application/pdf', showControls: true })}
|
||||
<div id="file-display-area" class="mt-4 space-y-2"></div>
|
||||
<button id="process-btn" class="hidden btn-gradient w-full mt-6">Reverse & Download</button>
|
||||
`,
|
||||
|
||||
Reference in new issue
Block a user