mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
Enhance/pdf enhancements (#8616)
- Improve interactions about the popup modal from the PDF viewer toolbar - Persist highlights data with multiple-lines text format (for friendly Git diff) - Blink the text highlight when scrolling to position - Open the PDF viewer in the system Window
This commit is contained in:
@@ -192,13 +192,13 @@
|
||||
(defn next-page
|
||||
[]
|
||||
(try
|
||||
(js-invoke js/window.lsPdfViewer "nextPage")
|
||||
(js-invoke js/window.lsActivePdfViewer "nextPage")
|
||||
(catch :default _e nil)))
|
||||
|
||||
(defn prev-page
|
||||
[]
|
||||
(try
|
||||
(js-invoke js/window.lsPdfViewer "previousPage")
|
||||
(js-invoke js/window.lsActivePdfViewer "previousPage")
|
||||
(catch :default _e nil)))
|
||||
|
||||
(defn open-finder
|
||||
|
||||
Reference in New Issue
Block a user