feat(pdf-tools): add bookmark pdf tool and lucide icons integration
- Add 'bookmark-pdf' to singlePdfLoadTools - Create new lucide-init.ts for icon initialization - Update HTML files to use local lucide initialization - Add bookmark.html page with full bookmark editor functionality - Update tools config to include bookmark tool - Modify main.ts to handle tool cards with href links
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import createModule from '@neslinesli93/qpdf-wasm';
|
||||
import { showLoader, hideLoader, showAlert } from '../ui';
|
||||
import { createIcons } from 'lucide';
|
||||
|
||||
const STANDARD_SIZES = {
|
||||
A4: { width: 595.28, height: 841.89 },
|
||||
@@ -177,3 +178,13 @@ export async function initializeQpdf() {
|
||||
|
||||
return qpdfInstance;
|
||||
}
|
||||
|
||||
|
||||
export function initializeIcons(): void {
|
||||
createIcons({
|
||||
attrs: {
|
||||
class: 'bento-icon',
|
||||
'stroke-width': '1.5',
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user