Loading
feat(annotations): add 'Both' destination and PDF mock CFI support
- Add 'Notes destination: Both' option — sends notes to both the in-book reader view (v2 endpoint) and the Booklore web-UI page - Add buildMockPdfCfi(page): synthetic CFI epubcfi(/6/<page*2>!/4/2/1:0,/1:0) derived from 1-based PDF page number - Enable highlight/note sync for PDF files using mock CFI (requires ann.page to be set by KOReader's annotation object) - Introduce resolveCfi() local helper to unify EPUB/PDF CFI resolution - Add 'both_note' dedup key for annotations synced to both destinations