From 4dac73c5649e105f1a146e86887f07627a2f5505 Mon Sep 17 00:00:00 2001 From: Mia Winter Date: Wed, 21 Feb 2024 15:18:40 +0100 Subject: [PATCH] Implemented simple image upload in ArticleEditor --- .../Pages/Partials/ArticleEditorPartial.razor | 45 ++++++++---- .../Pages/Partials/ImageModal.razor | 69 +++++++++++++++++++ .../Components/Pages/ArticleEditor.de-DE.resx | 27 ++++++++ .../Components/Pages/ArticleEditor.resx | 27 ++++++++ Wave/wwwroot/css/main.min.css | 2 +- 5 files changed, 156 insertions(+), 14 deletions(-) create mode 100644 Wave/Components/Pages/Partials/ImageModal.razor diff --git a/Wave/Components/Pages/Partials/ArticleEditorPartial.razor b/Wave/Components/Pages/Partials/ArticleEditorPartial.razor index 7b6da36..90db427 100644 --- a/Wave/Components/Pages/Partials/ArticleEditorPartial.razor +++ b/Wave/Components/Pages/Partials/ArticleEditorPartial.razor @@ -20,17 +20,6 @@ -
- @foreach (var image in Article.Images) { -
- @image.ImageDescription -
- @image.ImageDescription -
-
- } -
- @@ -154,7 +143,23 @@ } - + + +
+ @foreach (var image in Article.Images) { +
+ @image.ImageDescription +
+ +
+
+ } + +