From 311d45041fcb5b9b0dc139a9264d270b657c253d Mon Sep 17 00:00:00 2001 From: Gordon Lin <75815453+gordlin@users.noreply.github.com> Date: Wed, 20 Nov 2024 16:18:54 -0500 Subject: [PATCH] Add height and width fields for images --- src/components/image-editor.vue | 51 +++++++++++++++++++++++++++++++++ src/lang/lang.csv | 3 ++ 2 files changed, 54 insertions(+) diff --git a/src/components/image-editor.vue b/src/components/image-editor.vue index 3cc7f00e..294f2a0a 100644 --- a/src/components/image-editor.vue +++ b/src/components/image-editor.vue @@ -74,6 +74,57 @@ @change="onImagesEdited" /> + +
+
+ + +
+ +
+
+ + + + + + + + +
+ +
+
diff --git a/src/lang/lang.csv b/src/lang/lang.csv index d3af0f78..b481e16c 100644 --- a/src/lang/lang.csv +++ b/src/lang/lang.csv @@ -136,6 +136,9 @@ editor.changeLang.modal,"Are you sure you want to switch languages? Unsaved chan editor.frenchConfig,View French Config,1,Afficher la configuration en français,1 editor.englishConfig,View English Config,1,Afficher la configuration en anglais,1 editor.returnToLanding,Return to Landing,1,Retour à la page d’accueil,1 +editor.image.label.height,Height,1,Hauteur,0 +editor.image.label.width,Width,1,Largeur,0 +editor.image.label.widthWarning,Maximum width is 2/3 (66%) of screen on desktop and 100% on mobile. Larger widths will be ignored.,1,La largeur maximale est de 2/3 (66%) de l'écran sur un ordinateur de bureau et de 100% sur un appareil mobile. Les largeurs supérieures seront ignorées.,0 editor.image.delete,Delete Image,1,Supprimer l'image,1 editor.image.label.drag,Drag your images here,1,Faites glisser vos images ici,1 editor.image.label.caption,Caption,1,Légende,1