Open virgile-dev opened 3 months ago
(extracted from internal communication)
Quelques remarques:
if
afin de texte l'existence d'une variable avant d'afficher du texteumapdown
™ seulement pour le template de popup (la question de basculer celui-ci un jour en un mardown plus conventionnel ou un de ces cousins étant gardée pour plus tard); pour ça, faudrait voir à quel point des variables ont été utilisées dans les descriptions, possiblement aucune côté carte ou calque, et très peu dans les descriptions d'éléments, mais ce dernier point n'est pas simple à vérifierJe sais pas en termes de codes/légèreté, mais en termes UX, perso, c'est ce genre de truc que je viserais (mais basé sur CKEditor 5, donc potentiellement gazogène)
(Mais là on serait pas un wysiwyg, et donc se pose la question du umapdown™…)
"Paste, drop, or click to add files"
Je n'y avais pas fait attention mais c'est vrai que dans un premier temps ça répond très bien à ma problématique initiale de découvrabilité de la fonctionnalité d'upload d'image
Donc pas nécessairement obligé de lier les deux problématiques ce qui est toujours bien pour éviter de la complexité :clap:
Is your feature request related to a problem? Please describe. As we are thinking about support for image upload #1849 we need to think about the interface for the users and thus adding a rich text editor to the description field with an image field
Describe the solution you'd like As a user I'd like to have a menu at the top of the field that shows icons to help me format the text for the field (bold, italic, add an image, add a table etc.) Being able to view the html source might be interesting for users who want to be able to do advance formating. Several open source libraries (ex : https://quilljs.com/) are focused on bringing rich text editor capabilities, we'd have to check which one fits our needs.
Describe alternatives you've considered User currently rely on the umap syntax to format their content and also input html directy in the field.