From 31adbc28d8a674daf54a094f72bb821d2a7da474 Mon Sep 17 00:00:00 2001 From: Amir Mullagaliev <138519917+mulla028@users.noreply.github.com> Date: Mon, 16 Dec 2024 15:11:33 -0500 Subject: [PATCH] Use Markdown in AI Summary tab implemented (#12266) * Checkbox and WebView added to the FXML * WebView and CheckBox added, onMarkdownToggle() method implemented to handle checkbox changes * WebView erased from fxml * WebView added and set programmatically * CheckBox Moved * TextArea wrapped around StackPane | Imports updated | Version updated * StackPane added | MarkdownFormatter initialized outside of contructor | Lazy initialization of WebView implemented * CheckBox and The Button on the same level, wrapped around BorderPane * replace TextArea with WebView for summary display * simplify summary component layout * TextFlow removed *
 changed to 
* Default FontFamily and Size applied using ThemeManager * Described the PR in CHANGELOG.md * MarkdownFormatter renamed and now static * Removed changes from changelog, as requested * ThemeManager removed as requested --- .../summary/SummaryShowingComponent.fxml | 34 ++++++++------- .../summary/SummaryShowingComponent.java | 43 +++++++++++++++++-- 2 files changed, 58 insertions(+), 19 deletions(-) diff --git a/src/main/java/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml b/src/main/java/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml index f248bccab17..e0e0bfb6c66 100644 --- a/src/main/java/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml +++ b/src/main/java/org/jabref/gui/ai/components/summary/SummaryShowingComponent.fxml @@ -1,22 +1,26 @@ + - - + - - -