mirror of
https://github.com/zadam/trilium.git
synced 2026-03-22 00:03:41 +01:00
pdf.js: add ability to comment selected text
This commit is contained in:
parent
9290a60b23
commit
a92d846b57
@ -46,6 +46,7 @@ function configurePdfViewerOptions() {
|
||||
if (event.detail?.source === window && window.PDFViewerApplicationOptions) {
|
||||
window.PDFViewerApplicationOptions.set("disablePreferences", true);
|
||||
window.PDFViewerApplicationOptions.set("enableHighlightFloatingButton", true);
|
||||
window.PDFViewerApplicationOptions.set("enableComment", true);
|
||||
}
|
||||
};
|
||||
if (window.parent && window.parent !== window) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user