mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
Enhance/pdf improvements (#6475)
Full-text search, highlights and assets alias support
It also exposes a plugin API for highlight context menu
```ts
/**
* Current it's only available for pdf viewer
* @param label - displayed name of command
* @param action - callback for the clickable item
* @param opts - clearSelection: clear highlight selection when callback invoked
*/
registerHighlightContextMenuItem: (
label: string,
action: SimpleCommandCallback,
opts?: {
clearSelection: boolean
}
) => unknown
```
This commit is contained in:
@@ -6327,7 +6327,7 @@ const FindState = {
|
||||
};
|
||||
exports.FindState = FindState;
|
||||
const FIND_TIMEOUT = 250;
|
||||
const MATCH_SCROLL_OFFSET_TOP = -50;
|
||||
const MATCH_SCROLL_OFFSET_TOP = -200;
|
||||
const MATCH_SCROLL_OFFSET_LEFT = -400;
|
||||
const CHARACTERS_TO_NORMALIZE = {
|
||||
"\u2010": "-",
|
||||
@@ -8562,5 +8562,4 @@ const pdfjsBuild = 'eaaa8b4ad';
|
||||
/******/ return __webpack_exports__;
|
||||
/******/ })()
|
||||
;
|
||||
});
|
||||
//# sourceMappingURL=pdf_viewer.js.map
|
||||
});
|
||||
Reference in New Issue
Block a user