mirror of
https://github.com/zadam/trilium.git
synced 2026-05-09 00:46:17 +02:00
pdf.js: add ability to comment selected text
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user