From 876842ca760c26bef5cd7abb5edbc321b3a15cca Mon Sep 17 00:00:00 2001 From: Tom Najdek Date: Tue, 26 Nov 2024 16:54:40 +0100 Subject: [PATCH] Display highlight popup in the web build. zotero/web-library#570 --- src/ui/editor.js | 2 +- src/ui/popups/highlight-popup.js | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ui/editor.js b/src/ui/editor.js index 35823b1..1789af0 100644 --- a/src/ui/editor.js +++ b/src/ui/editor.js @@ -78,7 +78,7 @@ function Editor(props) { {refReady && !props.disableUI && {['ios', 'web'].includes(props.viewMode) && !editorState.link?.popup.active && editorState.table.isTableSelected() && } {editorState.link && } - {!['web'].includes(props.viewMode) && editorState.highlight && } + {editorState.highlight && } {!['web'].includes(props.viewMode) && editorState.image && } {editorState.citation &&
- + {!['web'].includes(viewMode) && ( + + )} {citationState.canAddCitationAfter() &&